mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-27 11:32:51 +00:00
avviddec: Fix typo that duplicated closed caption meta
We examined the output buffer, instead of the input buffer, for existence of cc meta. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-libav/-/merge_requests/83>
This commit is contained in:
parent
83190c4ec0
commit
88fa030ab1
1 changed files with 1 additions and 1 deletions
|
@ -1697,7 +1697,7 @@ gst_ffmpegviddec_video_frame (GstFFMpegVidDec * ffmpegdec,
|
|||
GST_MEMDUMP ("A53 CC", side_data->data, side_data->size);
|
||||
|
||||
/* do not add closed caption meta if it already exists */
|
||||
if (!gst_buffer_get_meta (out_frame->output_buffer,
|
||||
if (!gst_buffer_get_meta (out_frame->input_buffer,
|
||||
GST_VIDEO_CAPTION_META_API_TYPE)) {
|
||||
out_frame->output_buffer =
|
||||
gst_buffer_make_writable (out_frame->output_buffer);
|
||||
|
|
Loading…
Reference in a new issue