mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
media: fix check for seekability
This commit is contained in:
parent
3e55e0e467
commit
f4a0a371b7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue