diff options
author | Pooja Prajod | 2015-02-04 06:42:58 -0600 |
---|---|---|
committer | Karthik Ramanan | 2015-04-29 04:43:04 -0500 |
commit | a4e543b660fa88b23f5a7f956b6cae97cdfbfbba (patch) | |
tree | 7e856eadefaf6766753d6d29dfa8f7dea7dd8de9 | |
parent | d1b59f37a6dde3936d916eea70487e4d1a1aab25 (diff) | |
download | gstreamer1-0-plugins-bad-a4e543b660fa88b23f5a7f956b6cae97cdfbfbba.tar.gz gstreamer1-0-plugins-bad-a4e543b660fa88b23f5a7f956b6cae97cdfbfbba.tar.xz gstreamer1-0-plugins-bad-a4e543b660fa88b23f5a7f956b6cae97cdfbfbba.zip |
vc1parse and jpegparse : Fixes plugin ranks
Fix plugin ranks so that they are picked by playbin
-rw-r--r-- | gst/jpegformat/gstjpegformat.c | 2 | ||||
-rw-r--r-- | gst/jpegformat/gstjpegparse.c | 2 | ||||
-rw-r--r-- | gst/videoparsers/plugin.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gst/jpegformat/gstjpegformat.c b/gst/jpegformat/gstjpegformat.c index b410466..ecb9311 100644 --- a/gst/jpegformat/gstjpegformat.c +++ b/gst/jpegformat/gstjpegformat.c | |||
@@ -30,7 +30,7 @@ | |||
30 | static gboolean | 30 | static gboolean |
31 | plugin_init (GstPlugin * plugin) | 31 | plugin_init (GstPlugin * plugin) |
32 | { | 32 | { |
33 | if (!gst_element_register (plugin, "jpegparse", GST_RANK_NONE, | 33 | if (!gst_element_register (plugin, "jpegparse", GST_RANK_PRIMARY + 2, |
34 | GST_TYPE_JPEG_PARSE)) | 34 | GST_TYPE_JPEG_PARSE)) |
35 | return FALSE; | 35 | return FALSE; |
36 | if (!gst_element_register (plugin, "jifmux", GST_RANK_SECONDARY, | 36 | if (!gst_element_register (plugin, "jifmux", GST_RANK_SECONDARY, |
diff --git a/gst/jpegformat/gstjpegparse.c b/gst/jpegformat/gstjpegparse.c index 9983f32..04d5b91 100644 --- a/gst/jpegformat/gstjpegparse.c +++ b/gst/jpegformat/gstjpegparse.c | |||
@@ -156,7 +156,7 @@ gst_jpeg_parse_class_init (GstJpegParseClass * klass) | |||
156 | 156 | ||
157 | gst_element_class_set_static_metadata (gstelement_class, | 157 | gst_element_class_set_static_metadata (gstelement_class, |
158 | "JPEG stream parser", | 158 | "JPEG stream parser", |
159 | "Video/Parser", | 159 | "Codec/Parser/Video", |
160 | "Parse JPEG images into single-frame buffers", | 160 | "Parse JPEG images into single-frame buffers", |
161 | "Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>"); | 161 | "Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>"); |
162 | 162 | ||
diff --git a/gst/videoparsers/plugin.c b/gst/videoparsers/plugin.c index 485b0ed..a85550c 100644 --- a/gst/videoparsers/plugin.c +++ b/gst/videoparsers/plugin.c | |||
@@ -48,7 +48,7 @@ plugin_init (GstPlugin * plugin) | |||
48 | ret |= gst_element_register (plugin, "pngparse", | 48 | ret |= gst_element_register (plugin, "pngparse", |
49 | GST_RANK_PRIMARY, GST_TYPE_PNG_PARSE); | 49 | GST_RANK_PRIMARY, GST_TYPE_PNG_PARSE); |
50 | ret |= gst_element_register (plugin, "vc1parse", | 50 | ret |= gst_element_register (plugin, "vc1parse", |
51 | GST_RANK_NONE, GST_TYPE_VC1_PARSE); | 51 | GST_RANK_PRIMARY + 2, GST_TYPE_VC1_PARSE); |
52 | 52 | ||
53 | return ret; | 53 | return ret; |
54 | } | 54 | } |