summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2018-01-03 15:15:25 +0100
committerEdward Hervey <bilboed@bilboed.com>2018-01-03 15:15:25 +0100
commitc4b0bdb5564f389e470664bf87ec712e29ea7737 (patch)
tree26a88df8b47cad8a820090fa7fa4e920cf7c3d80 /ext
parent203d5867ea44eed4a1d9651ec3aad22a9500788b (diff)
downloadgstreamer-plugins-bad-c4b0bdb5564f389e470664bf87ec712e29ea7737.tar.gz
hlssink2: Remove useless if statement
message will always be present CID #1409853
Diffstat (limited to 'ext')
-rw-r--r--ext/hls/gsthlssink2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/hls/gsthlssink2.c b/ext/hls/gsthlssink2.c
index 7a47a2f02..64a16424a 100644
--- a/ext/hls/gsthlssink2.c
+++ b/ext/hls/gsthlssink2.c
@@ -301,8 +301,7 @@ gst_hls_sink2_handle_message (GstBin * bin, GstMessage * message)
break;
}
- if (message)
- GST_BIN_CLASS (parent_class)->handle_message (bin, message);
+ GST_BIN_CLASS (parent_class)->handle_message (bin, message);
}
static GstPad *