tizenwlsink: Remove unreachable code 55/178255/1 accepted/tizen/unified/20180510.070759 submit/tizen/20180509.045804
authorHyunil <hyunil46.park@samsung.com>
Wed, 9 May 2018 04:52:17 +0000 (13:52 +0900)
committerHyunil <hyunil46.park@samsung.com>
Wed, 9 May 2018 04:52:17 +0000 (13:52 +0900)
Change-Id: I7fcd4ce04a346fc31bdbfd1e1cbc078aa40ea5af
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
tizenwlsink/src/gsttizenwlsink.c

index 465e734..2502fb9 100644 (file)
@@ -2353,31 +2353,6 @@ gst_tizen_wl_sink_show_frame (GstVideoSink * vsink, GstBuffer * buffer)
 
   goto done;
 
-no_window_size:
-  {
-    GST_ELEMENT_ERROR (sink, RESOURCE, WRITE,
-        ("Window has no size set"),
-        ("Make sure you set the size after calling set_window_handle"));
-    ret = GST_FLOW_ERROR;
-    goto done;
-  }
-no_buffer:
-  {
-    GST_WARNING_OBJECT (sink, "could not create buffer");
-    goto done;
-  }
-no_wl_buffer:
-  {
-    GST_ERROR_OBJECT (sink, "could not create wl_buffer out of wl_shm memory");
-    ret = GST_FLOW_ERROR;
-    goto done;
-  }
-activate_failed:
-  {
-    GST_ERROR_OBJECT (sink, "failed to activate bufferpool.");
-    ret = GST_FLOW_ERROR;
-    goto done;
-  }
 #endif
 done:
   {