diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2006-02-19 12:09:19 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2006-02-19 12:09:19 +0000 |
commit | 645eac79e8711fd378372b856d1091c17f8ce71e (patch) | |
tree | 48c81f0da9f0b4a8c12a566ce9e77f6264d416fc /gst/flx/gstflxdec.c | |
parent | b4d28290943826462216623b6f7aa01d8ee975a5 (diff) |
gst/flx/gstflxdec.*: Implement DURATION query.
Original commit message from CVS:
* gst/flx/gstflxdec.c: (gst_flxdec_src_query_handler),
(gst_flxdec_chain):
* gst/flx/gstflxdec.h:
Implement DURATION query.
Diffstat (limited to 'gst/flx/gstflxdec.c')
-rw-r--r-- | gst/flx/gstflxdec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/flx/gstflxdec.c b/gst/flx/gstflxdec.c index 456ae5c1..9401249f 100644 --- a/gst/flx/gstflxdec.c +++ b/gst/flx/gstflxdec.c @@ -526,6 +526,8 @@ gst_flxdec_chain (GstPad * pad, GstBuffer * buf) } flxdec->duration = flxh->frames * flxdec->frame_time; + GST_LOG ("duration : %" GST_TIME_FORMAT, + GST_TIME_ARGS (flxdec->duration)); caps = gst_caps_from_string (GST_VIDEO_CAPS_xRGB_HOST_ENDIAN); gst_caps_set_simple (caps, |