gst-plugins-bad: h264parse: fix gst_h264_parse_clock_timestamp always failing

Vincent Penquerc'h vincent at kemper.freedesktop.org
Mon Jan 23 10:32:07 PST 2012


Module: gst-plugins-bad
Branch: master
Commit: 9feea330bb94565b219c983fd7b61840044f10b9
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=9feea330bb94565b219c983fd7b61840044f10b9

Author: Jonas Larsson <jonas at hallerud.se>
Date:   Mon Jan 23 18:30:19 2012 +0000

h264parse: fix gst_h264_parse_clock_timestamp always failing

---

 gst-libs/gst/codecparsers/gsth264parser.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gst-libs/gst/codecparsers/gsth264parser.c b/gst-libs/gst/codecparsers/gsth264parser.c
index d0c6c45..b969650 100644
--- a/gst-libs/gst/codecparsers/gsth264parser.c
+++ b/gst-libs/gst/codecparsers/gsth264parser.c
@@ -1056,6 +1056,8 @@ gst_h264_parse_clock_timestamp (GstH264ClockTimestamp * tim,
   if (time_offset_length > 0)
     READ_UINT32 (nr, tim->time_offset, time_offset_length);
 
+  return TRUE;
+
 error:
   GST_WARNING ("error parsing \"Clock timestamp\"");
   return FALSE;



More information about the gstreamer-commits mailing list