summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2013-08-21 16:32:50 +0200
committerSebastian Dröge <slomo@circular-chaos.org>2013-08-22 09:22:18 +0200
commit52a58f2bd413a077d5afc651ddff4162550856a7 (patch)
tree779ded7b5de056099889f92168281d6218aac1c5
parentc52279fed1f72fa7d4e18008b490a988ac04b8dd (diff)
downloadgst-plugins-good-52a58f2bd413a077d5afc651ddff4162550856a7.tar.gz
gst-plugins-good-52a58f2bd413a077d5afc651ddff4162550856a7.tar.xz
directsoundsink: WAVEFORMATEX is unsigned for 8 bit integers, and signed for others
Probably fixes https://bugzilla.gnome.org/show_bug.cgi?id=705477
-rw-r--r--sys/directsound/gstdirectsoundsink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/directsound/gstdirectsoundsink.c b/sys/directsound/gstdirectsoundsink.c
index 9626e697c..e80ed2e54 100644
--- a/sys/directsound/gstdirectsoundsink.c
+++ b/sys/directsound/gstdirectsoundsink.c
@@ -115,7 +115,7 @@ static GstStaticPadTemplate directsoundsink_sink_factory =
"layout = (string) interleaved, "
"rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 2 ]; "
"audio/x-raw, "
- "format = (string) S8, "
+ "format = (string) U8, "
"layout = (string) interleaved, "
"rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 2 ];"
"audio/x-ac3, framed = (boolean) true;"