gst: Remove dead assignments

This commit is contained in:
Edward Hervey 2009-08-08 14:47:40 +02:00
parent 699539a331
commit 51bc185f7f
3 changed files with 1 additions and 7 deletions

View file

@ -179,12 +179,11 @@ debug_dump_element_pad (GstPad * pad, GstElement * element,
GstElement *target_element;
GstPad *target_pad, *tmp_pad;
GstPadDirection dir;
gchar *pad_name, *element_name;
gchar *element_name;
gchar *target_element_name;
gchar *color_name;
dir = gst_pad_get_direction (pad);
pad_name = debug_dump_make_object_name (GST_OBJECT (pad));
element_name = debug_dump_make_object_name (GST_OBJECT (element));
if (GST_IS_GHOST_PAD (pad)) {
color_name =

View file

@ -4067,7 +4067,6 @@ chain_groups:
list = GST_BUFFER_LIST_CAST (data);
it = gst_buffer_list_iterate (list);
ret = GST_FLOW_OK;
if (gst_buffer_list_iterator_next_group (it)) {
do {
group = gst_buffer_list_iterator_merge_group (it);
@ -4275,7 +4274,6 @@ push_groups:
list = GST_BUFFER_LIST_CAST (data);
it = gst_buffer_list_iterate (list);
ret = GST_FLOW_OK;
if (gst_buffer_list_iterator_next_group (it)) {
do {
group = gst_buffer_list_iterator_merge_group (it);

View file

@ -548,7 +548,6 @@ static gboolean
start_task (GstTask * task)
{
gboolean res = TRUE;
GstTaskClass *tclass;
GError *error = NULL;
GstTaskPrivate *priv;
@ -561,8 +560,6 @@ start_task (GstTask * task)
* and exit the task function. */
task->running = TRUE;
tclass = GST_TASK_GET_CLASS (task);
/* push on the thread pool, we remember the original pool because the user
* could change it later on and then we join to the wrong pool. */
priv->pool_id = gst_object_ref (priv->pool);