jpegparse: Change plugin rank GST_RANK_NONE to GST_RANK_SECONDARY 15/320615/1 accepted/tizen/9.0/unified/20241121.045825
authorGilbok Lee <gilbok.lee@samsung.com>
Tue, 19 Nov 2024 03:34:52 +0000 (12:34 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Tue, 19 Nov 2024 09:12:04 +0000 (09:12 +0000)
- In order to use v4l2jpegdec, plugin need a parsed:true caps.
  During autoplugin, it is GST_RANK_NONE, so parsebin can't find
  jpegparse and therefore can't use v4l2jpegdec
- Increase the rank of the jpegparse plugin to use v4l2jpegdec

Change-Id: Icd89c177836580d91d0b730e31731cc8b383c23a

packaging/gstreamer.spec
subprojects/gst-plugins-bad/gst/jpegformat/gstjpegparse.c

index d4142a5caf67b899edff4d70fc6407b0188f61b6..bcec5b1f7708664b59d68b4ce7ba6180f35b73c8 100644 (file)
@@ -62,7 +62,7 @@
 
 Name:           %{_name}
 Version:        1.22.8
-Release:        15
+Release:        16
 Summary:        Streaming-Media Framework Runtime
 License:        LGPL-2.0+
 Group:          Multimedia/Framework
index f190cfa05b38cfb3b7c38a3ace313c43c6197566..87dbd548b70f168c8c0308f62a84f9e7b11edf2b 100644 (file)
@@ -107,7 +107,7 @@ static gboolean gst_jpeg_parse_stop (GstBaseParse * parse);
 
 #define gst_jpeg_parse_parent_class parent_class
 G_DEFINE_TYPE (GstJpegParse, gst_jpeg_parse, GST_TYPE_BASE_PARSE);
-GST_ELEMENT_REGISTER_DEFINE (jpegparse, "jpegparse", GST_RANK_NONE,
+GST_ELEMENT_REGISTER_DEFINE (jpegparse, "jpegparse", GST_RANK_SECONDARY,
     GST_TYPE_JPEG_PARSE);
 
 enum GstJPEGColorspace