mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 05:59:10 +00:00
Fix some regressions caused by caps conversion
Original commit message from CVS: Fix some regressions caused by caps conversion
This commit is contained in:
parent
e9f6be3a04
commit
725711e93c
1 changed files with 9 additions and 8 deletions
|
@ -410,7 +410,9 @@ gst_wavparse_parse_adtl (GstWavParse *wavparse,
|
||||||
|
|
||||||
g_object_notify (G_OBJECT (wavparse), "metadata");
|
g_object_notify (G_OBJECT (wavparse), "metadata");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if 0
|
||||||
static void
|
static void
|
||||||
gst_wavparse_parse_info (GstWavParse *wavparse,
|
gst_wavparse_parse_info (GstWavParse *wavparse,
|
||||||
int len)
|
int len)
|
||||||
|
@ -525,7 +527,9 @@ gst_wavparse_parse_info (GstWavParse *wavparse,
|
||||||
|
|
||||||
g_object_notify (G_OBJECT (wavparse), "metadata");
|
g_object_notify (G_OBJECT (wavparse), "metadata");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if 0
|
||||||
static void
|
static void
|
||||||
gst_wavparse_parse_cues (GstWavParse *wavparse,
|
gst_wavparse_parse_cues (GstWavParse *wavparse,
|
||||||
int len)
|
int len)
|
||||||
|
@ -589,6 +593,7 @@ gst_wavparse_parse_cues (GstWavParse *wavparse,
|
||||||
|
|
||||||
g_object_notify (G_OBJECT (wavparse), "metadata");
|
g_object_notify (G_OBJECT (wavparse), "metadata");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_wavparse_parse_fmt (GstWavParse *wavparse)
|
gst_wavparse_parse_fmt (GstWavParse *wavparse)
|
||||||
|
@ -663,7 +668,6 @@ gst_wavparse_parse_fmt (GstWavParse *wavparse)
|
||||||
wavparse->rate, wavparse->channels);
|
wavparse->rate, wavparse->channels);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_wavparse_handle_sink_event (GstWavParse *wavparse)
|
gst_wavparse_handle_sink_event (GstWavParse *wavparse)
|
||||||
|
@ -830,17 +834,14 @@ gst_wavparse_loop (GstElement *element)
|
||||||
|
|
||||||
switch (chunk.id) {
|
switch (chunk.id) {
|
||||||
case GST_RIFF_TAG_data:
|
case GST_RIFF_TAG_data:
|
||||||
#if 0
|
|
||||||
wavparse->state = GST_WAVPARSE_DATA;
|
wavparse->state = GST_WAVPARSE_DATA;
|
||||||
wavparse->dataleft = chunk.size;
|
wavparse->dataleft = chunk.size;
|
||||||
wavparse->byteoffset = 0;
|
wavparse->byteoffset = 0;
|
||||||
|
flush = 0;
|
||||||
flush = 0;
|
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GST_RIFF_TAG_fmt:
|
case GST_RIFF_TAG_fmt:
|
||||||
//gst_wavparse_parse_fmt (wavparse);
|
gst_wavparse_parse_fmt (wavparse);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GST_RIFF_TAG_cue:
|
case GST_RIFF_TAG_cue:
|
||||||
|
|
Loading…
Reference in a new issue