Commit 6625a7f2 authored by Guillaume Desmottes's avatar Guillaume Desmottes

dlnasrc: remove is_uri_initialized

It's not needed any more as dlna_src_uri_init() is called only by
dlna_src_uri_assign().
Furthermore it was bugged as dlna_src_uri_assign() should have to set it back to
FALSE.
parent 21870d69
......@@ -447,7 +447,6 @@ gst_dlna_src_init (GstDlnaSrc * dlna_src)
dlna_src->time_seek_event_start = 0;
dlna_src->handled_time_seek_seqnum = FALSE;
dlna_src->is_uri_initialized = FALSE;
dlna_src->is_live = FALSE;
dlna_src->is_encrypted = FALSE;
......@@ -1519,11 +1518,6 @@ dlna_src_uri_init (GstDlnaSrc * dlna_src, GError ** error)
{
GST_DEBUG_OBJECT (dlna_src, "Initializing URI");
if (dlna_src->is_uri_initialized) {
GST_DEBUG_OBJECT (dlna_src, "Returning since URI is already initialized");
return TRUE;
}
if (!dlna_src_uri_gather_info (dlna_src, error)) {
GST_ERROR_OBJECT (dlna_src, "Problems gathering URI info");
return FALSE;
......@@ -1534,8 +1528,6 @@ dlna_src_uri_init (GstDlnaSrc * dlna_src, GError ** error)
return FALSE;
}
dlna_src->is_uri_initialized = TRUE;
return TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment