mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
gst/playback/gstplaybasebin.c: Don't crash on EMPTY caps (e.g. when the demuxer didn't recognize the contained stream).
Original commit message from CVS: * gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state): Don't crash on EMPTY caps (e.g. when the demuxer didn't recognize the contained stream).
This commit is contained in:
parent
54effec909
commit
795615d52e
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-12-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state):
|
||||
Don't crash on EMPTY caps (e.g. when the demuxer didn't recognize
|
||||
the contained stream).
|
||||
|
||||
2004-12-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/faad/gstfaad.c: (gst_faad_srcconnect), (gst_faad_chain):
|
||||
|
|
|
@ -1207,7 +1207,7 @@ gst_play_base_bin_change_state (GstElement * element)
|
|||
/* We're no audio/video and the only stream... We could
|
||||
* be something not-media that's detected because then our
|
||||
* typefind doesn't mess up with mp3 (bz2, gz, elf, ...) */
|
||||
if (info->caps) {
|
||||
if (info->caps && !gst_caps_is_empty (info->caps)) {
|
||||
const gchar *mime =
|
||||
gst_structure_get_name (gst_caps_get_structure (info->caps,
|
||||
0));
|
||||
|
|
Loading…
Reference in a new issue