new_preroll   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/contrib/gstvideo.xtm

Implementation

(bind-func new_preroll
  (lambda (sink:GstAppSink* data:gpointer)
    (let ((sample (gst_app_sink_pull_preroll (cast sink i8*)))
          (caps (gst_sample_get_caps sample))
          (st (gst_caps_get_structure caps 0))
          (gv (gst_structure_get_value st "framerate"))
          (num (gst_value_get_fraction_numerator gv))
          (denom (gst_value_get_fraction_denominator gv))
          (playz (tref (cast data userdata*) 1))
          (quad (tref (cast data userdata*) 0)))
      (cond ((= quad 1) (set! vplay1 #t)))
      ;;(printf "Preroll[%d]: %s\n" quad (gst_caps_to_string caps))
      GST_FLOW_OK)))


Back to Index

Similar Entries

  • aiProcess_LimitBoneWeights    scheme
  • cpBBNew    xtlang
  • cpBBNewForCircle    xtlang
  • cpBBNewForExtents    xtlang
  • cpShapeFilterNew    xtlang
  • cpTransformNew    xtlang
  • cpTransformNewTranspose    xtlang
  • get_new_pos    xtlang
  • get_new_pos2    xtlang
  • godot_array_new    xtlang
  • godot_color_new_rgb    xtlang
  • godot_node_path_new    xtlang
  • godot_string_new    xtlang
  • godot_variant_new_aabb    xtlang
  • godot_variant_new_basis    xtlang
  • godot_variant_new_bool    xtlang
  • godot_variant_new_color    xtlang
  • godot_variant_new_int    xtlang
  • godot_variant_new_nil    xtlang
  • godot_variant_new_node_path    xtlang
  • godot_variant_new_plane    xtlang
  • godot_variant_new_quat    xtlang
  • godot_variant_new_real    xtlang
  • godot_variant_new_rect2    xtlang
  • godot_variant_new_string    xtlang
  • godot_variant_new_transform    xtlang
  • godot_variant_new_transform2d    xtlang
  • godot_variant_new_vector2    xtlang
  • godot_variant_new_vector3    xtlang
  • godot_vector2_new    xtlang
  • godot_vector3_new    xtlang
  • icr:new-zone    scheme
  • impc:ir:compile:push_new_zone    scheme
  • impc:ti:initialize-closure-with-new-zone    scheme
  • impc:ti:push_new_zone-check    scheme
  • impc:ti:register-new-builtin    scheme
  • impc:ti:register-new-closure    scheme
  • impc:ti:register-new-genericfunc    scheme
  • impc:ti:register-new-generictype    scheme
  • impc:ti:register-new-globalvar    scheme
  • impc:ti:register-new-namedtype    scheme
  • impc:ti:register-new-nativefunc    scheme
  • impc:ti:register-new-polyfunc    scheme
  • impc:ti:register-new-polytype    scheme
  • impc:ti:register-new-typealias    scheme
  • impc:ti:register-new-xtmacro    scheme
  • impc:ti:spec-new-type?    scheme
  • new-horde    scheme
  • new_preroll    xtlang
  • new_sample    xtlang
  • new_sample    xtlang