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 ca09464ad706af3babdc54717bb254e07aae9434..2eb46759b47a4025c0056816802b393f2182996b 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 9a3afeb72eef109fb72c1c439bf3374d402a20ad..4df74e034f5c59b39588c6b8e51a6c9858198a65 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();