summaryrefslogtreecommitdiff
path: root/ext/dash/gstmpdparser.h
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2015-09-08 15:14:13 +0100
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2015-09-16 09:44:19 +0100
commit69bfa8222f59096f9ab39cc85274c9b0573cb61d (patch)
treee3f72d8b967664488fb12733b4af444f2bac78a8 /ext/dash/gstmpdparser.h
parent23ea8ccb43b0cca96275545ad5cfc22305d1705d (diff)
downloadgstreamer-plugins-bad-69bfa8222f59096f9ab39cc85274c9b0573cb61d.tar.gz
mpdparser: properly read signed r values for S elements
The spec defines these as signed in 5.3.9.6.1. Since we don't support this behavior, warn and default to 0 (non repeating), which is the spec's default when the value is not present. https://bugzilla.gnome.org/show_bug.cgi?id=752480
Diffstat (limited to 'ext/dash/gstmpdparser.h')
-rw-r--r--ext/dash/gstmpdparser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dash/gstmpdparser.h b/ext/dash/gstmpdparser.h
index ff380e298..14a239021 100644
--- a/ext/dash/gstmpdparser.h
+++ b/ext/dash/gstmpdparser.h
@@ -138,7 +138,7 @@ struct _GstSNode
{
guint64 t;
guint64 d;
- guint r;
+ gint r;
};
struct _GstSegmentTimelineNode