avenc_aac: Increase avenc_aac rank 72/275572/1
authorHaesu Gwon <haesu.gwon@samsung.com>
Thu, 26 May 2022 09:23:28 +0000 (18:23 +0900)
committerHaesu Gwon <haesu.gwon@samsung.com>
Thu, 26 May 2022 09:23:28 +0000 (18:23 +0900)
- Support ges mp4 encoding

[Version] 1.20.0-24
[Issue Type] Improvement

Change-Id: Ia9648339f5c8823359c931ec4c99494b20d367e4

packaging/gstreamer.spec
subprojects/gst-libav/ext/libav/gstavaudenc.c

index 270b99e87fa7096d4f48da887262d7471ba25fa6..b5e42270b3c5fb71d7abe4f08cf472c8428730d3 100644 (file)
@@ -60,7 +60,7 @@
 
 Name:           %{_name}
 Version:        1.20.0
-Release:        23
+Release:        24
 Summary:        Streaming-Media Framework Runtime
 License:        LGPL-2.0+
 Group:          Multimedia/Framework
index 7fe3d01503f166a3645c2ff6d127267a58069183..45d24ab43a3191b5f7291c8d19097325d6b69140 100644 (file)
@@ -780,7 +780,6 @@ gst_ffmpegaudenc_register (GstPlugin * plugin)
             in_plugin->id <= AV_CODEC_ID_PCM_F24LE)) {
       continue;
     }
-
 #ifdef TIZEN_PRODUCT_TV
     if (in_plugin->id != AV_CODEC_ID_AAC)
       continue;
@@ -839,7 +838,11 @@ gst_ffmpegaudenc_register (GstPlugin * plugin)
     switch (in_plugin->id) {
         /* avenc_aac: see https://bugzilla.gnome.org/show_bug.cgi?id=691617 */
       case AV_CODEC_ID_AAC:
+#ifdef TIZEN_FEATURE_LIBAV
+        rank = GST_RANK_MARGINAL;
+#else
         rank = GST_RANK_NONE;
+#endif
         break;
       default:
         rank = GST_RANK_SECONDARY;