mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 23:58:17 +00:00
gst/: Make sure we don't create 0 sized subbufers in riff-read.
Original commit message from CVS: * gst-libs/gst/riff/riff-read.c: (gst_riff_read_strf_vids_with_data), (gst_riff_read_strf_auds_with_data): * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query), (gst_avi_demux_add_stream), (gst_avi_demux_stream_header): Make sure we don't create 0 sized subbufers in riff-read. Signal the no more pads signal after reading the avi header.
This commit is contained in:
parent
68a04bfaf4
commit
dfb55453e4
1 changed files with 4 additions and 0 deletions
|
@ -1263,6 +1263,10 @@ gst_avi_demux_stream_header (GstAviDemux * avi)
|
|||
g_warning ("Stream header mentioned %d streams, but %d available",
|
||||
streams, avi->num_streams);
|
||||
}
|
||||
/* at this point we know all the streams and we can signal the no more
|
||||
* pads signal */
|
||||
GST_DEBUG ("signaling no more pads");
|
||||
gst_element_no_more_pads (GST_ELEMENT (avi));
|
||||
|
||||
/* we've got streaminfo now */
|
||||
g_object_notify (G_OBJECT (avi), "streaminfo");
|
||||
|
|
Loading…
Reference in a new issue