mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
assrender: If no codec data is set, still initialize the ass track
This commit is contained in:
parent
88bd4a8ada
commit
e8e3192a6e
1 changed files with 3 additions and 0 deletions
|
@ -852,6 +852,9 @@ gst_ass_render_setcaps_text (GstPad * pad, GstCaps * caps)
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
} else if (!render->ass_track) {
|
} else if (!render->ass_track) {
|
||||||
render->ass_track = ass_new_track (render->ass_library);
|
render->ass_track = ass_new_track (render->ass_library);
|
||||||
|
|
||||||
|
render->track_init_ok = TRUE;
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue