summaryrefslogtreecommitdiff
path: root/packages/gstreamer/gst-ffmpeg
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-03-05 09:44:10 +0100
committerKoen Kooi <koen@openembedded.org>2009-03-05 09:44:10 +0100
commit34f365f297e24b5a5e8be8b3cd90c35305630d55 (patch)
tree6dfe8c8aadeb51b63aa6af80577df7848320b225 /packages/gstreamer/gst-ffmpeg
parentb2510e85acaee15fb82ee670ce754f1f2f28a82c (diff)
gst-ffmpeg: lower rank of plugin to allow better plugins to get picked over this one
Diffstat (limited to 'packages/gstreamer/gst-ffmpeg')
-rw-r--r--packages/gstreamer/gst-ffmpeg/lower-rank.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/gstreamer/gst-ffmpeg/lower-rank.diff b/packages/gstreamer/gst-ffmpeg/lower-rank.diff
new file mode 100644
index 0000000000..4e81e379b2
--- /dev/null
+++ b/packages/gstreamer/gst-ffmpeg/lower-rank.diff
@@ -0,0 +1,13 @@
+Lower the rank of ffmpeg plugin so codecs that hook into accelerated pieces (e.g. dsp or hw engines) can get picked over this
+
+--- /tmp/gstffmpegdec.c 2009-03-05 09:31:15.000000000 +0100
++++ gst-ffmpeg-0.10.6/ext/ffmpeg/gstffmpegdec.c 2009-03-05 09:33:09.000000000 +0100
+@@ -2588,7 +2588,7 @@
+ case CODEC_ID_MSMPEG4V3:
+ case CODEC_ID_H264:
+ case CODEC_ID_COOK:
+- rank = GST_RANK_PRIMARY;
++ rank = GST_RANK_SECONDARY;
+ break;
+ case CODEC_ID_DVVIDEO:
+ /* we have a good dv decoder, fast on both ppc as well as x86. they say