From 00ec95f3d249dd87705318b23c110e14035bf7f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 15 Dec 2007 13:10:00 +0000 Subject: gst/videoparse/gstvideoparse.c: Improve duration query by first asking upstream and if it can't handle the query try ... Original commit message from CVS: * gst/videoparse/gstvideoparse.c: (gst_video_parse_sink_event), (gst_video_parse_src_event), (gst_video_parse_src_query): Improve duration query by first asking upstream and if it can't handle the query try to get the duration in bytes from upstream and convert. For seeks, try if upstream handles this already first and do our conversion to byte format only if it doesn't and if we get a newsegment event in time format keep it and only do our conversions if the event has another format. --- ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 200cf957..0f721825 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2007-12-15 Sebastian Dröge + + * gst/videoparse/gstvideoparse.c: (gst_video_parse_sink_event), + (gst_video_parse_src_event), (gst_video_parse_src_query): + Improve duration query by first asking upstream and if it can't handle + the query try to get the duration in bytes from upstream and convert. + For seeks, try if upstream handles this already first and do our + conversion to byte format only if it doesn't and if we get a + newsegment event in time format keep it and only do our conversions + if the event has another format. + 2007-12-15 Sebastian Dröge * gst/videoparse/gstvideoparse.c: -- cgit v1.2.1