Commit 2eecaf5b authored by Brendan Long's avatar Brendan Long

Merge pull request #133 from gdesmott/uri-initialized

dlnasrc: remove is_uri_initialized
parents 21870d69 6625a7f2
......@@ -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