mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
range: don't overwrite unit field
This commit is contained in:
parent
0bf50cd3d8
commit
f1669d7d9c
1 changed files with 0 additions and 2 deletions
|
@ -237,8 +237,6 @@ parse_smpte_range (const gchar * str, GstRTSPTimeRange * range)
|
||||||
GstRTSPResult res;
|
GstRTSPResult res;
|
||||||
gchar *p;
|
gchar *p;
|
||||||
|
|
||||||
range->unit = GST_RTSP_RANGE_SMPTE;
|
|
||||||
|
|
||||||
/* find '-' separator, can't have a single - */
|
/* find '-' separator, can't have a single - */
|
||||||
p = strstr (str, "-");
|
p = strstr (str, "-");
|
||||||
if (p == NULL || p == str)
|
if (p == NULL || p == str)
|
||||||
|
|
Loading…
Reference in a new issue