if (interlace->stored_frame) {
gst_buffer_unref (interlace->stored_frame);
interlace->stored_frame = NULL;
+ interlace->stored_fields = 0;
}
}
if (interlace->stored_frame) {
gst_buffer_unref (interlace->stored_frame);
interlace->stored_frame = NULL;
+ interlace->stored_fields = 0;
}
ret = gst_pad_push_event (interlace->srcpad, event);
break;
if (interlace->stored_frame) {
gst_buffer_unref (interlace->stored_frame);
+ interlace->stored_frame = NULL;
+ interlace->stored_fields = 0;
}
- interlace->stored_frame = NULL;
- interlace->stored_fields = 0;
if (interlace->top_field_first) {
interlace->field_index = 0;