~broder/ubuntu/natty/gst-plugins-base0.10/perlsectomy

« back to all changes in this revision

Viewing changes to gst-libs/gst/tag/gsttagdemux.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-06-26 21:12:29 UTC
  • mfrom: (11.5.1 upstream) (33.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100626211229-0k34egbnd2octtpv
Tags: 0.10.29.2-1
* New upstream pre-release:
  + debian/rules,
    debian/compat,
    debian/control.in,
    debian/source/format,
    debian/patches/*:
    - Update to debhelper compat level 7.
    - Update to source format 3.0 (quilt).
    - Update to Standards-Version 3.8.4.
  + debian/build-deps.in,
    debian/rules:
    - Build depend on GLib 2.20 and GStreamer 0.10.29.2.
    - Build depend on ORC instead of liboil.
  + debian/patches/00*:
    - Dropped, merged upstream.
  + debian/libgstreamer-plugins-base.symbols:
    - Update symbols file with the new API.
  + debian/patches/01_videotestsrc-libm-linking.patch,
    debian/patches/02_videoscale-libm-linking.patch:
    - Link videotestsrc and videoscale with libm to fix FTBFS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
314
314
static gboolean
315
315
gst_tag_demux_add_srcpad (GstTagDemux * tagdemux, GstCaps * new_caps)
316
316
{
317
 
  GstPad *srcpad = NULL;
318
 
 
319
317
  if (tagdemux->priv->src_caps == NULL ||
320
318
      !gst_caps_is_equal (new_caps, tagdemux->priv->src_caps)) {
321
319
 
332
330
  }
333
331
 
334
332
  if (tagdemux->priv->srcpad == NULL) {
335
 
    srcpad = tagdemux->priv->srcpad =
 
333
    tagdemux->priv->srcpad =
336
334
        gst_pad_new_from_template (gst_element_class_get_pad_template
337
335
        (GST_ELEMENT_GET_CLASS (tagdemux), "src"), "src");
338
336
    g_return_val_if_fail (tagdemux->priv->srcpad != NULL, FALSE);
756
754
      ret = TRUE;
757
755
      break;
758
756
    }
 
757
    case GST_EVENT_FLUSH_STOP:
 
758
    case GST_EVENT_FLUSH_START:
 
759
      ret = gst_pad_event_default (pad, event);
 
760
      break;
759
761
    default:
760
 
      if (demux->priv->need_newseg) {
 
762
      if (demux->priv->need_newseg && GST_EVENT_IS_SERIALIZED (event)) {
761
763
        /* Cache all events if we have a pending segment, so they don't get
762
764
         * lost (esp. tag events) */
763
765
        GST_INFO_OBJECT (demux, "caching event: %" GST_PTR_FORMAT, event);