mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
teletextdec: add some data in the preroll buffer
https://bugzilla.gnome.org/show_bug.cgi?id=619739
This commit is contained in:
parent
126a98d967
commit
fb98c55f67
1 changed files with 3 additions and 1 deletions
|
@ -942,7 +942,9 @@ gst_teletextdec_push_preroll_buffer (GstTeletextDec * teletext)
|
|||
goto beach;
|
||||
}
|
||||
|
||||
buf = gst_buffer_new ();
|
||||
buf = gst_buffer_new_and_alloc (1);
|
||||
GST_BUFFER_DATA (buf) = GST_BUFFER_MALLOCDATA (buf) =
|
||||
(guint8 *) g_strdup ("");
|
||||
gst_buffer_set_caps (buf, out_caps);
|
||||
ret = gst_pad_push (teletext->srcpad, buf);
|
||||
if (ret != GST_FLOW_OK)
|
||||
|
|
Loading…
Reference in a new issue