projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b44be43
)
subparse: fix svace issue
94/225494/2
tizen_gst_1.16.2
author
Eunhye Choi
<eunhae1.choi@samsung.com>
Thu, 20 Feb 2020 07:49:41 +0000
(16:49 +0900)
committer
Eunhye Choi
<eunhae1.choi@samsung.com>
Fri, 21 Feb 2020 05:39:45 +0000
(14:39 +0900)
Change-Id: I0008756d0b796b761591a0195fef800db2d02b87
gst/subparse/gstsubparse.c
patch
|
blob
|
history
diff --git
a/gst/subparse/gstsubparse.c
b/gst/subparse/gstsubparse.c
index
6d806de
..
5a2a7f2
100644
(file)
--- a/
gst/subparse/gstsubparse.c
+++ b/
gst/subparse/gstsubparse.c
@@
-549,7
+549,7
@@
convert_encoding (GstSubParse * self, const gchar * str, gsize len,
g_clear_error (&err);
#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
- if (!
strcmp
(self->encoding, "EUC-KR")) {
+ if (!
g_strcmp0
(self->encoding, "EUC-KR")) {
GST_LOG_OBJECT (self, "use CP949 as fallback");
g_free (self->encoding);
self->encoding = g_strdup ("CP949");
@@
-2008,7
+2008,7
@@
gst_sub_parse_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
#ifdef TIZEN_FEATURE_SUBPARSE_MODIFICATION
SUBPARSE_SEEK_UNLOCK (self);
#endif
-
+
break;
}
case GST_EVENT_FLUSH_START: