~ubuntu-branches/ubuntu/wily/gst-plugins-base1.0/wily

« back to all changes in this revision

Viewing changes to gst-libs/gst/audio/gstaudioencoder.c

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2013-07-13 11:29:27 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20130713112927-r626qmw2e3pvsyiu
Tags: 1.0.8-1
New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
464
464
    enc->priv->ctx.headers = NULL;
465
465
    enc->priv->ctx.new_headers = FALSE;
466
466
 
 
467
    if (enc->priv->ctx.allocator)
 
468
      gst_object_unref (enc->priv->ctx.allocator);
 
469
    enc->priv->ctx.allocator = NULL;
 
470
 
 
471
    gst_caps_replace (&enc->priv->ctx.input_caps, NULL);
467
472
    gst_caps_replace (&enc->priv->ctx.caps, NULL);
 
473
 
468
474
    memset (&enc->priv->ctx, 0, sizeof (enc->priv->ctx));
469
475
    gst_audio_info_init (&enc->priv->ctx.info);
470
476
 
476
482
    g_list_foreach (enc->priv->pending_events, (GFunc) gst_event_unref, NULL);
477
483
    g_list_free (enc->priv->pending_events);
478
484
    enc->priv->pending_events = NULL;
479
 
 
480
 
    if (enc->priv->ctx.allocator)
481
 
      gst_object_unref (enc->priv->ctx.allocator);
482
 
    enc->priv->ctx.allocator = NULL;
483
 
 
484
 
    gst_caps_replace (&enc->priv->ctx.input_caps, NULL);
485
485
  }
486
486
 
487
487
  gst_segment_init (&enc->input_segment, GST_FORMAT_TIME);