mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
qtdemux: Minor refactor
Replace repeated code with a function call
This commit is contained in:
parent
92a83e016a
commit
b988ff4f57
1 changed files with 1 additions and 3 deletions
|
@ -2873,9 +2873,7 @@ pause:
|
|||
if (ret == GST_FLOW_UNEXPECTED) {
|
||||
if (qtdemux->n_streams == 0) {
|
||||
/* we have no streams, post an error */
|
||||
GST_ELEMENT_ERROR (qtdemux, STREAM, DECODE,
|
||||
(_("This file contains no playable streams.")),
|
||||
("no known streams found"));
|
||||
gst_qtdemux_post_no_playable_stream_error (qtdemux);
|
||||
}
|
||||
if (qtdemux->segment.flags & GST_SEEK_FLAG_SEGMENT) {
|
||||
gint64 stop;
|
||||
|
|
Loading…
Reference in a new issue