remove useless code
authorYounghwan Ahn <younghwan_.an@samsung.com>
Thu, 29 Nov 2012 04:01:16 +0000 (13:01 +0900)
committerYounghwan Ahn <younghwan_.an@samsung.com>
Thu, 29 Nov 2012 04:01:16 +0000 (13:01 +0900)
src/mm_player_priv.c

index d3cbcf5..e478a12 100755 (executable)
@@ -2037,7 +2037,6 @@ __mmplayer_gst_rtp_dynamic_pad (GstElement *element, GstPad *pad, gpointer data)
        GstPad *sinkpad = NULL;
        GstCaps* caps = NULL;
        GstElement* new_element = NULL;
-       enum MainElementID element_id = MMPLAYER_M_NUM;
 
        mm_player_t* player = (mm_player_t*) data;
 
@@ -2141,10 +2140,6 @@ __mmplayer_gst_rtp_dynamic_pad (GstElement *element, GstPad *pad, gpointer data)
                MMPLAYER_ELEMENT_SET_STATE( new_element, GST_STATE_PLAYING );
        }
 
-       /* store handle to futher manipulation */
-       player->pipeline->mainbin[element_id].id = element_id;
-       player->pipeline->mainbin[element_id].gst = new_element;
-
        debug_fleave();
 
        return;