summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2013-07-03 15:15:16 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2013-07-03 15:15:16 -0400
commitcef47d85294a0dca38631f938b81a3f0dd6891bd (patch)
tree834bf764378d1ec46acff27f75fb3f64dfaed85e
parentd5a87e4a338bc8595948efe5e23f3fb700cae30f (diff)
downloadgstreamer-plugins-bad-cef47d85294a0dca38631f938b81a3f0dd6891bd.tar.gz
Revert "h264parse: Add access-unit-delimiters"
This patch is actually not correct, oops This reverts commit dc1ca0fd9022215087aa4cd57a1d446899dc410b.
-rw-r--r--gst/videoparsers/gsth264parse.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c
index 38ad34e43..d398dbb9a 100644
--- a/gst/videoparsers/gsth264parse.c
+++ b/gst/videoparsers/gsth264parse.c
@@ -1470,17 +1470,6 @@ gst_h264_parse_pre_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
gst_h264_parse_prepare_key_unit (h264parse, event);
}
- char au_delim[] = { 0x00, 0x00, 0x00, 0x01, /* nal prefix */
- 0x09, /* nal_unit_type = access unit delimiter */
- 0xf0 /* allow any slice type */ };
- GstBuffer *au_delim_buf = gst_buffer_new_allocate (
- NULL, sizeof (au_delim), NULL);
- gst_buffer_fill (au_delim_buf, 0, au_delim, sizeof (au_delim));
- GST_BUFFER_TIMESTAMP (au_delim_buf) = GST_BUFFER_TIMESTAMP (buffer);
- GST_BUFFER_DURATION (au_delim_buf) = 0;
- GST_DEBUG_OBJECT (h264parse, "sending AU delimiter");
- gst_pad_push (GST_BASE_PARSE_SRC_PAD (h264parse), au_delim_buf);
-
/* periodic SPS/PPS sending */
if (h264parse->interval > 0 || h264parse->push_codec) {
GstClockTime timestamp = GST_BUFFER_TIMESTAMP (buffer);