summaryrefslogtreecommitdiff
path: root/gst-libs/gst/mpegts/gst-atsc-section.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/mpegts/gst-atsc-section.c')
-rw-r--r--gst-libs/gst/mpegts/gst-atsc-section.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/mpegts/gst-atsc-section.c b/gst-libs/gst/mpegts/gst-atsc-section.c
index 6934e84ac..cff1d1809 100644
--- a/gst-libs/gst/mpegts/gst-atsc-section.c
+++ b/gst-libs/gst/mpegts/gst-atsc-section.c
@@ -437,7 +437,7 @@ _gst_mpegts_atsc_string_segment_decode_string (GstMpegtsAtscStringSegment * seg)
break;
}
- if (from_encoding != NULL) {
+ if (from_encoding != NULL && seg->compressed_data_size > 0) {
GError *err = NULL;
seg->cached_string =