~ubuntu-branches/ubuntu/karmic/gst-plugins-bad0.10/karmic-proposed

« back to all changes in this revision

Viewing changes to gst/mpegdemux/mpegtsparse.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-01-08 07:59:36 UTC
  • mto: (18.1.3 sid) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: james.westby@ubuntu.com-20090108075936-dpmodc3g7ko1scwd
Tags: upstream-0.10.9.2
Import upstream version 0.10.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
250
250
  /* PAT */
251
251
  g_hash_table_insert (parse->psi_pids,
252
252
      GINT_TO_POINTER (0), GINT_TO_POINTER (1));
 
253
  if (parse->pat != NULL)
 
254
    gst_structure_free (parse->pat);
253
255
  parse->pat = NULL;
254
256
  /* pmt pids will be added and removed dynamically */
255
257
 
611
613
  pad = mpegts_parse_create_tspad (parse, name)->pad;
612
614
  gst_pad_set_active (pad, TRUE);
613
615
  gst_element_add_pad (element, pad);
 
616
  g_free (name);
614
617
 
615
618
  return pad;
616
619
}