summaryrefslogtreecommitdiffstats
path: root/gst/flx
diff options
context:
space:
mode:
Diffstat (limited to 'gst/flx')
-rw-r--r--gst/flx/gstflxdec.c2
-rw-r--r--gst/flx/gstflxdec.h2
2 files changed, 3 insertions, 1 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,
diff --git a/gst/flx/gstflxdec.h b/gst/flx/gstflxdec.h
index 16e7b8eb..a47413e0 100644
--- a/gst/flx/gstflxdec.h
+++ b/gst/flx/gstflxdec.h
@@ -47,7 +47,7 @@ struct _GstFlxDec {
GstAdapter *adapter;
gulong size;
GstFlxDecState state;
- glong frame_time;
+ gint64 frame_time;
gint64 next_time;
gint64 duration;