Make supportive_resolution initial. 78/139678/3
authorHyunsoo <hance.park@samsung.com>
Thu, 20 Jul 2017 05:56:13 +0000 (14:56 +0900)
committerHyunsoo <hance.park@samsung.com>
Thu, 20 Jul 2017 07:04:24 +0000 (16:04 +0900)
After applying this patch, 'supportive_resolution' has initial value when call 'scmirroring_sink_unprepare'.
Now, 'supportive_resolution' can be set initial value after calling 'scmirroring_sink_unprepare' even though user set user preferred value when using.
*Before, once 'supportive_resolution' is set through 'scmirorring_set_resolution' api, 'supportive_resolution' variable couldn't be set initial value before screen mirroring app is terminated.
Signed-off-by: Hyunsoo <hance.park@samsung.com>
Change-Id: I855e79f304b8aec0ec904343844320a1903956a3

packaging/libmm-wfd.spec
src/mm_wfd_sink_priv.c

index ca09464..2eb4675 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-wfd
 Summary:    Multimedia Framework Wifi-Display Library
-Version:    0.2.224
+Version:    0.2.225
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
index 9a3afeb..4df74e0 100644 (file)
@@ -4712,6 +4712,7 @@ static int __mm_wfd_sink_destroy_pipeline(mm_wfd_sink_t *wfd_sink)
        wfd_sink->audio_decodebin_is_linked = FALSE;
        wfd_sink->video_decodebin_is_linked = FALSE;
        wfd_sink->need_to_reset_basetime = FALSE;
+       wfd_sink->supportive_resolution = MM_WFD_SINK_RESOLUTION_UNKNOWN;
 
        wfd_sink_debug_fleave();