Add to handle timeout of gstwfdbasersrc. 13/56413/1 accepted/tizen/mobile/20160112.224021 accepted/tizen/tv/20160112.224042 accepted/tizen/wearable/20160112.224101 submit/tizen/20160112.091633
authorSangkyu Park <sk1122.park@samsung.com>
Thu, 7 Jan 2016 07:37:01 +0000 (16:37 +0900)
committerSangkyu Park <sk1122.park@samsung.com>
Thu, 7 Jan 2016 11:54:58 +0000 (20:54 +0900)
Change-Id: Ic306b925f76c91ded28414940bdc870e895b770d
Signed-off-by: Sangkyu Park <sk1122.park@samsung.com>
packaging/libmm-wfd.spec
sink/mm_wfd_sink_priv.c

index 99a1e021e43520ca1ad2f50cd2cf63aa4ee0630f..3b222defeb7c78f94ab1f711222fd382561ad1c6 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       libmm-wfd
 Summary:    Multimedia Framework Wifi-Display Library
-Version:    0.2.192
+Version:    0.2.193
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
index f32eb145f0e67fe278919d32187c4571e6e56568..04ae189598b786e99a6656a059e098cee21b4315 100755 (executable)
@@ -693,6 +693,11 @@ _mm_wfd_sink_msg_callback(GstBus *bus, GstMessage *msg, gpointer data)
                                                MMWFDSINK_POST_MESSAGE(wfd_sink,
                                                                                                MM_ERROR_WFD_INTERNAL,
                                                                                                MMWFDSINK_CURRENT_STATE(wfd_sink));
+                                       } else if (g_strrstr(structure_name, "GstWFDSrcSessionTimeout")) {
+                                               wfd_sink_error("Got %s, post error message", GST_STR_NULL(structure_name));
+                                               MMWFDSINK_POST_MESSAGE(wfd_sink,
+                                                                                               MM_ERROR_WFD_INTERNAL,
+                                                                                               MMWFDSINK_CURRENT_STATE(wfd_sink));
                                        }
                                }
                        }