diff options
author | Krzysztof Konopko <krzysztof.konopko@youview.com> | 2012-11-22 10:57:25 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2012-11-23 00:14:53 +0000 |
commit | 76b8e8be513d9f439549ecb5d1cbf7aa2da8e658 (patch) | |
tree | 92ab8b564a695b602541a1e92bffe9d45d196af2 /gst | |
parent | 97a365c439b467bba8297ce61120f6bd554bf4d9 (diff) |
mpegtsmux: propagate flow returns
And add a unit test.
https://bugzilla.gnome.org/show_bug.cgi?id=688870
Diffstat (limited to 'gst')
-rw-r--r-- | gst/mpegtsmux/mpegtsmux.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c index 1d61f9326..26f18b11e 100644 --- a/gst/mpegtsmux/mpegtsmux.c +++ b/gst/mpegtsmux/mpegtsmux.c @@ -1172,9 +1172,7 @@ mpegtsmux_collected_buffer (GstCollectPads * pads, GstCollectData * data, } } /* flush packet cache */ - mpegtsmux_push_packets (mux, FALSE); - - return ret; + return mpegtsmux_push_packets (mux, FALSE); /* ERRORS */ write_fail: |