media: fix check for seekability

This commit is contained in:
Ognyan Tonchev 2012-09-10 16:25:57 +02:00 committed by Wim Taymans
parent 3e55e0e467
commit f4a0a371b7

View file

@ -714,7 +714,7 @@ gst_rtsp_media_seek (GstRTSPMedia * media, GstRTSPTimeRange * range)
g_return_val_if_fail (GST_IS_RTSP_MEDIA (media), FALSE); g_return_val_if_fail (GST_IS_RTSP_MEDIA (media), FALSE);
g_return_val_if_fail (range != NULL, FALSE); g_return_val_if_fail (range != NULL, FALSE);
if (media->seekable) { if (!media->seekable) {
GST_INFO ("pipeline is not seekable"); GST_INFO ("pipeline is not seekable");
return TRUE; return TRUE;
} }