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

« back to all changes in this revision

Viewing changes to gst/qtmux/gstqtmux.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2011-03-07 09:16:53 UTC
  • mfrom: (18.3.21 experimental)
  • Revision ID: james.westby@ubuntu.com-20110307091653-byfee32d39q0c5d4
Tags: 0.10.21-1ubuntu1
* Merge with Debian; remaining changes.
  - Remove plugins that are now provided -good in
    debian/gstreamer-plugins-bad.install:
    - libgstautoconvert.so
    - libgstdtmf.so
    - libgstliveadder.so
    - libgstrtpmux.so
  - Revert enabling of libgstlv2 -- drop lv2core, libslv2-dev from
    debian/build-deps.in and remove libgstlv2 from
    debian/gstreamer-plugins-bad.install.  This plugin segfaults on amd64
    and is too unstable for now. the bug requesting this was LP #511334 and
    the instability statement is at LP #513347. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
469
469
{
470
470
  GstElementClass *klass = GST_ELEMENT_CLASS (qtmux_klass);
471
471
  GstPadTemplate *templ;
472
 
  GstCaps *caps;
473
472
 
474
473
  templ = gst_element_class_get_pad_template (klass, "src");
475
474
  qtmux->srcpad = gst_pad_new_from_template (templ, "src");
476
 
  caps = gst_caps_copy (gst_pad_get_pad_template_caps (qtmux->srcpad));
477
 
  gst_pad_set_caps (qtmux->srcpad, caps);
478
 
  gst_caps_unref (caps);
479
475
  gst_pad_use_fixed_caps (qtmux->srcpad);
480
476
  gst_element_add_pad (GST_ELEMENT (qtmux), qtmux->srcpad);
481
477
 
1578
1574
gst_qt_mux_start_file (GstQTMux * qtmux)
1579
1575
{
1580
1576
  GstFlowReturn ret = GST_FLOW_OK;
 
1577
  GstCaps *caps;
1581
1578
 
1582
1579
  GST_DEBUG_OBJECT (qtmux, "starting file");
1583
1580
 
 
1581
  caps = gst_caps_copy (gst_pad_get_pad_template_caps (qtmux->srcpad));
 
1582
  gst_pad_set_caps (qtmux->srcpad, caps);
 
1583
  gst_caps_unref (caps);
 
1584
 
1584
1585
  /* let downstream know we think in BYTES and expect to do seeking later on */
1585
1586
  gst_pad_push_event (qtmux->srcpad,
1586
1587
      gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_BYTES, 0, -1, 0));