diff options
author | Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> | 2010-02-23 21:06:55 -0300 |
---|---|---|
committer | Thiago Santos <thiago.sousa.santos@collabora.co.uk> | 2010-03-10 09:41:06 -0300 |
commit | aa26b09c1c6190b199324c11af4ac2ffa5edab9e (patch) | |
tree | 61285866f0ea51cb046fbd0277a1e4e5fc4bee68 /sys | |
parent | 1a60c7b04021cf2b7374e882b2e553b94cf57a47 (diff) |
ximagesrc: send new_segment with GST_FORMAT_TIME format
Instead of using BaseSrc default format GST_FORMAT_BYTES, send it in
GST_FORMAT_TIME.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Fixes #611659
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ximage/gstximagesrc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/ximage/gstximagesrc.c b/sys/ximage/gstximagesrc.c index 15c7d6ce4..e6fbe2f39 100644 --- a/sys/ximage/gstximagesrc.c +++ b/sys/ximage/gstximagesrc.c @@ -1117,6 +1117,7 @@ gst_ximage_src_class_init (GstXImageSrcClass * klass) static void gst_ximage_src_init (GstXImageSrc * ximagesrc, GstXImageSrcClass * klass) { + gst_base_src_set_format (GST_BASE_SRC (ximagesrc), GST_FORMAT_TIME); gst_base_src_set_live (GST_BASE_SRC (ximagesrc), TRUE); gst_pad_set_fixatecaps_function (GST_BASE_SRC_PAD (ximagesrc), gst_ximage_src_fixate); |