mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
deinterlace: Reset frame/tc/caption pointer to NULL after moving it in the history
This commit is contained in:
parent
8b4db06733
commit
abf2af1a66
1 changed files with 3 additions and 0 deletions
|
@ -1163,6 +1163,9 @@ gst_deinterlace_push_history (GstDeinterlace * self, GstBuffer * buffer)
|
|||
self->field_history[i].tc = self->field_history[i - fields_to_push].tc;
|
||||
self->field_history[i].caption =
|
||||
self->field_history[i - fields_to_push].caption;
|
||||
self->field_history[i - fields_to_push].frame = NULL;
|
||||
self->field_history[i - fields_to_push].tc = NULL;
|
||||
self->field_history[i - fields_to_push].caption = NULL;
|
||||
}
|
||||
|
||||
if (field_layout == GST_DEINTERLACE_LAYOUT_AUTO) {
|
||||
|
|
Loading…
Reference in a new issue