summaryrefslogtreecommitdiff
path: root/gst/videoparsers
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-02-15 17:14:34 +0100
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-02-15 17:14:34 +0100
commitca5010cc4b8b27555ea4b858e089a6119db20060 (patch)
tree2fb932498ab52605ba5ee4ad2f90e15d6f195339 /gst/videoparsers
parent52fce494597198db0d0422cec99026e19cbc4495 (diff)
parente373df2a973db5c4f99ead59565d2f4f7e8297a9 (diff)
downloadgstreamer-plugins-bad-ca5010cc4b8b27555ea4b858e089a6119db20060.tar.gz
Merge branch 'master' into 0.11
Diffstat (limited to 'gst/videoparsers')
-rw-r--r--gst/videoparsers/gsth264parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c
index 1723826f6..4ba67e133 100644
--- a/gst/videoparsers/gsth264parse.c
+++ b/gst/videoparsers/gsth264parse.c
@@ -520,7 +520,7 @@ gst_h264_parse_process_nal (GstH264Parse * h264parse, GstH264NalUnit * nalu)
if (h264parse->format == GST_H264_PARSE_FORMAT_AVC)
h264parse->sei_pos = gst_adapter_available (h264parse->frame_out);
else
- h264parse->sei_pos = nalu->offset - 4;
+ h264parse->sei_pos = nalu->sc_offset;
GST_DEBUG_OBJECT (h264parse, "marking SEI in frame at offset %d",
h264parse->sei_pos);
}
@@ -563,7 +563,7 @@ gst_h264_parse_process_nal (GstH264Parse * h264parse, GstH264NalUnit * nalu)
if (h264parse->format == GST_H264_PARSE_FORMAT_AVC)
h264parse->idr_pos = gst_adapter_available (h264parse->frame_out);
else
- h264parse->idr_pos = nalu->offset - 4;
+ h264parse->idr_pos = nalu->sc_offset;
GST_DEBUG_OBJECT (h264parse, "marking IDR in frame at offset %d",
h264parse->idr_pos);
}