From f5e4a8b028213584be3a5535095e0ece4e465c5f Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 12 Apr 2007 14:20:56 +0000 Subject: [PATCH] gst/rtp/gstrtph264depay.c: Use the proper sync word for SPS and PPS. Original commit message from CVS: * gst/rtp/gstrtph264depay.c: Use the proper sync word for SPS and PPS. --- ChangeLog | 5 +++++ gst/rtp/gstrtph264depay.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 =