mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
teletext: Fix initialization
We always ended up erroring on the first page otherwise Conflicts: ext/teletextdec/gstteletextdec.c
This commit is contained in:
parent
a931620208
commit
e3b2886b01
1 changed files with 2 additions and 0 deletions
|
@ -288,6 +288,8 @@ gst_teletextdec_init (GstTeletextDec * teletext, GstTeletextDecClass * klass)
|
|||
|
||||
teletext->frame = g_new0 (GstTeletextFrame, 1);
|
||||
teletext->frame->sliced_begin = g_new (vbi_sliced, MAX_SLICES);
|
||||
teletext->frame->current_slice = teletext->frame->sliced_begin;
|
||||
teletext->frame->sliced_end = teletext->frame->sliced_begin + MAX_SLICES;
|
||||
|
||||
teletext->last_ts = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue