Fix build error for product TV 40/281840/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/hotfix/20221116.105411 accepted/tizen/unified/20220927.132350 tizen_7.0_m2_release
authorJeongmo Yang <jm80.yang@samsung.com>
Thu, 22 Sep 2022 08:20:42 +0000 (17:20 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Thu, 22 Sep 2022 08:20:42 +0000 (17:20 +0900)
[Version] 0.10.271
[Issue Type] Bug fix

Change-Id: Ia189b3820283c7cd15d0dfbd731dc9f1ac7eb7c3
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/libmm-camcorder.spec
src/include/mm_camcorder_gstcommon.h
src/mm_camcorder_gstcommon.c

index 76b7b96..f1c210c 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       libmm-camcorder
 Summary:    Camera and recorder library
-Version:    0.10.270
+Version:    0.10.271
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
index ad10b73..e135548 100644 (file)
@@ -184,6 +184,10 @@ void _mmcamcorder_set_encoder_bitrate(MMCamcorderEncoderType type, int codec, in
 gboolean _mmcamcorder_invoke_video_stream_cb(MMHandleType handle, GstSample *sample, gboolean is_preview, int stream_id);
 GstPadProbeReturn __mmcamcorder_muxed_dataprobe(GstPad *pad, GstPadProbeInfo *info, gpointer u_data);
 GstPadProbeReturn __mmcamcorder_eventprobe_monitor(GstPad *pad, GstPadProbeInfo *info, gpointer u_data);
+#ifdef _MMCAMCORDER_PRODUCT_TV
+bool __mmcamcorder_find_max_resolution(MMHandleType handle, gint *max_width, gint *max_height);
+#endif /* _MMCAMCORDER_PRODUCT_TV */
+
 #ifdef __cplusplus
 }
 #endif
index 05384d3..362421c 100644 (file)
@@ -153,9 +153,6 @@ static GstPadProbeReturn __mmcamcorder_video_dataprobe_record(GstPad *pad, GstPa
 
 static int __mmcamcorder_get_amrnb_bitrate_mode(int bitrate);
 static guint32 _mmcamcorder_get_structure_fourcc(const GstStructure *structure);
-#ifdef _MMCAMCORDER_PRODUCT_TV
-static bool __mmcamcorder_find_max_resolution(MMHandleType handle, gint *max_width, gint *max_height);
-#endif /* _MMCAMCORDER_PRODUCT_TV */
 
 static gboolean __mmcamcorder_set_stream_data(MMCamcorderVideoStreamDataType *stream, GstBuffer *buffer, GstMapInfo *map_info);
 static gboolean __mmcamcorder_set_stream_data_zero_copy(MMCamcorderVideoStreamDataType *stream, GstBuffer *buffer, GstMemory *memory);
@@ -3207,7 +3204,7 @@ bool _mmcamcorder_recreate_decoder_for_encoded_preview(MMHandleType handle)
 }
 
 #ifdef _MMCAMCORDER_PRODUCT_TV
-static bool __mmcamcorder_find_max_resolution(MMHandleType handle, gint *max_width, gint *max_height)
+bool __mmcamcorder_find_max_resolution(MMHandleType handle, gint *max_width, gint *max_height)
 {
        _MMCamcorderSubContext *sc = NULL;
        mmf_camcorder_t *hcamcorder = NULL;