From a5e2d7dfe9396714fd2c2f73f8a6e3a8b3727875 Mon Sep 17 00:00:00 2001 From: ruble Date: Thu, 10 Jun 2021 09:36:25 +0900 Subject: [PATCH] subparse: check byte seekability - If seeking in byte format is not possible, it'll be handled by default handler. Change-Id: I0474d0801b9f47a870b43e6e4bdeb712231892b1 --- gst/subparse/gstsubparse.c | 6 +++--- packaging/gst-plugins-base.spec | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gst/subparse/gstsubparse.c b/gst/subparse/gstsubparse.c index 4ab5d9b..fd83726 100644 --- a/gst/subparse/gstsubparse.c +++ b/gst/subparse/gstsubparse.c @@ -305,7 +305,7 @@ gst_sub_parse_src_event (GstPad * pad, GstObject * parent, GstEvent * event) goto beach; } #ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION - if (!gst_sub_parse_check_byte_seekability(self)) { + if (!gst_sub_parse_check_byte_seekability (self)) { ret = gst_pad_event_default (pad, parent, event); gst_event_unref (event); break; @@ -361,7 +361,7 @@ gst_sub_parse_check_byte_seekability (GstSubParse * subparse) if (gst_pad_peer_query (subparse->sinkpad, query)) { gst_query_parse_seeking (query, NULL, &seekable, NULL, NULL); - } else { + } else { GST_DEBUG_OBJECT (subparse, "seeking query failed"); } @@ -369,7 +369,7 @@ gst_sub_parse_check_byte_seekability (GstSubParse * subparse) GST_INFO_OBJECT (subparse, "byte seekable: %d", seekable); - return seekable; + return seekable; } #endif diff --git a/packaging/gst-plugins-base.spec b/packaging/gst-plugins-base.spec index 9753c78..2a104d7 100644 --- a/packaging/gst-plugins-base.spec +++ b/packaging/gst-plugins-base.spec @@ -5,7 +5,7 @@ Name: gst-plugins-base Version: 1.16.2 -Release: 12 +Release: 13 License: LGPL-2.0+ Summary: GStreamer Streaming-Media Framework Plug-Ins Url: http://gstreamer.freedesktop.org/ -- 2.7.4