[banshee] GStreamerSharp: fix transcoding by using QueryCaps()
- From: Andrés Aragoneses <aaragoneses src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] GStreamerSharp: fix transcoding by using QueryCaps()
- Date: Sat, 25 Jan 2014 17:31:38 +0000 (UTC)
commit c21540c57f5c3f5bb3ee1e6e33c50f1de8d4a519
Author: Andrés G. Aragoneses <knocte gmail com>
Date: Sat Jan 25 18:31:20 2014 +0100
GStreamerSharp: fix transcoding by using QueryCaps()
We were not using the same method of obtaining the caps as
the native backend, so go back to using QueryCaps().
Thanks go to Sebastian Dröge and Stephan Sundermann which
tracked this down (in irc://irc.freenode.net/#gstreamer).
(And to Bertrand Lorentz for reporting it.)
.../Banshee.GStreamerSharp/Transcoder.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/Transcoder.cs
b/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/Transcoder.cs
index 6ffca34..376c884 100644
--- a/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/Transcoder.cs
+++ b/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/Transcoder.cs
@@ -225,7 +225,7 @@ namespace Banshee.GStreamerSharp
return;
}
- Caps caps = args.NewPad.Caps;
+ Caps caps = args.NewPad.QueryCaps ();
str = caps [0];
if(!str.Name.Contains ("audio")) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]