mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
h264parse: obtain correct upstream timestamp
... for optional downstream use.
This commit is contained in:
parent
4c7fd3c247
commit
21a6347b39
1 changed files with 1 additions and 1 deletions
|
@ -2076,8 +2076,8 @@ gst_h264_parse_chain_forward (GstH264Parse * h264parse, gboolean discont,
|
|||
gboolean start;
|
||||
guint8 *next_data;
|
||||
|
||||
outbuf = gst_adapter_take_buffer (h264parse->adapter, next_nalu_pos);
|
||||
outbuf_dts = gst_adapter_prev_timestamp (h264parse->adapter, NULL); /* Better value for the second parameter? */
|
||||
outbuf = gst_adapter_take_buffer (h264parse->adapter, next_nalu_pos);
|
||||
|
||||
/* packetized will have no next data, which serves fine here */
|
||||
next_data = (guint8 *) gst_adapter_peek (h264parse->adapter, 6);
|
||||
|
|
Loading…
Reference in a new issue