diff --git a/ChangeLog b/ChangeLog index a82b06e84c..1c0649cbba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-04-12 Wim Taymans + + * gst/rtp/gstrtph264depay.c: + Use the proper sync word for SPS and PPS. + 2007-04-12 Thomas Vander Stichele * gst/rtp/Makefile.am: diff --git a/gst/rtp/gstrtph264depay.c b/gst/rtp/gstrtph264depay.c index be27910d0f..1027c48d6b 100644 --- a/gst/rtp/gstrtph264depay.c +++ b/gst/rtp/gstrtph264depay.c @@ -29,8 +29,8 @@ GST_DEBUG_CATEGORY_STATIC (rtph264depay_debug); #define GST_CAT_DEFAULT (rtph264depay_debug) -/* 2 or 3 bytes syncword */ -static const guint8 sync_bytes[] = { 0, 0, 1 }; +/* 3 zero bytes syncword */ +static const guint8 sync_bytes[] = { 0, 0, 0, 1 }; /* elementfactory information */ static const GstElementDetails gst_rtp_h264depay_details =