mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
warning when event not available
Original commit message from CVS: warning when event not available
This commit is contained in:
parent
2c6a121e4f
commit
9987beb5a5
1 changed files with 5 additions and 0 deletions
|
@ -362,6 +362,11 @@ gst_a52dec_handle_event (GstA52Dec *a52dec)
|
|||
|
||||
gst_bytestream_get_status (a52dec->bs, &remaining, &event);
|
||||
|
||||
if (!event) {
|
||||
g_warning ("a52dec: no bytestream event");
|
||||
return;
|
||||
}
|
||||
|
||||
switch (GST_EVENT_TYPE (event)) {
|
||||
case GST_EVENT_DISCONTINUOUS:
|
||||
gst_bytestream_flush_fast (a52dec->bs, remaining);
|
||||
|
|
Loading…
Reference in a new issue