[longomatch] Fix scenario without faad faac
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix scenario without faad faac
- Date: Wed, 3 Dec 2014 15:41:09 +0000 (UTC)
commit 0248935dc6a32bb575be33235f0725fe164a5599
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Dec 3 16:37:52 2014 +0100
Fix scenario without faad faac
libcesarplayer/gst-remuxer.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libcesarplayer/gst-remuxer.c b/libcesarplayer/gst-remuxer.c
index 5494010..0b277e0 100644
--- a/libcesarplayer/gst-remuxer.c
+++ b/libcesarplayer/gst-remuxer.c
@@ -267,7 +267,9 @@ gst_remuxer_pad_added_cb (GstElement * demuxer, GstPad * pad,
if (version == 4) {
/* FIXME: aacparse doesn't seem to support adts to raw conversion */
//parser = gst_element_factory_make ("aacparse", NULL);
- parser = gst_parse_bin_from_description ("faad ! faac", TRUE, NULL);
+ parser = gst_parse_bin_from_description ("fluaacdec ! fluaacenc", TRUE, NULL);
+ if (parser == NULL)
+ parser = gst_parse_bin_from_description ("faad ! faac", TRUE, NULL);
} else if (version == 3) {
parser = gst_element_factory_make ("mp3parse", "audio-parser");
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]