[Bug 766707] alsasrc format=S16BE results in Internal data flow error
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Jun 16 15:52:55 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=766707
--- Comment #5 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> ---
diff --git a/ext/alsa/gstalsa.c b/ext/alsa/gstalsa.c
index a44e6e1..95286b0 100644
--- a/ext/alsa/gstalsa.c
+++ b/ext/alsa/gstalsa.c
@@ -144,6 +144,7 @@ format_supported (const GValue * format_val,
snd_pcm_format_mask_t * mask,
return FALSE;
format = gst_audio_format_from_string (g_value_get_string (format_val));
+GST_DEBUG ("XX checking %s", g_value_get_string (format_val));
if (format == GST_AUDIO_FORMAT_UNKNOWN)
return FALSE;
@@ -157,7 +158,11 @@ format_supported (const GValue * format_val,
snd_pcm_format_mask_t * mask,
if (pcm_format == SND_PCM_FORMAT_UNKNOWN)
return FALSE;
- return snd_pcm_format_mask_test (mask, pcm_format);
+ {
+ gboolean ret = snd_pcm_format_mask_test (mask, pcm_format);
+GST_DEBUG ("XX checking %s: %d", g_value_get_string(format_val), ret);
+return ret;
+ }
}
static GstCaps *
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list