~ubuntu-branches/ubuntu/quantal/gst-plugins-bad-multiverse0.10/quantal

« back to all changes in this revision

Viewing changes to ext/xvid/gstxvidenc.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2007-05-03 19:52:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070503195254-4dovmz251nut3yrt
Tags: 0.10.4+cvs20070502-1
* New CVS snapshot.
* debian/rules,
  debian/build-deps.in:
  + Update build dependencies.
* debian/gstreamer-plugins-bad-multiverse.install:
  + Add x264 plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
806
806
    gst_buffer_unref (outbuf);
807
807
    return NULL;
808
808
  } else if (ret > 0) {         /* make sub-buffer */
 
809
    GstBuffer *sub;
 
810
 
809
811
    GST_DEBUG_OBJECT (xvidenc, "xvid produced output of size %d", ret);
810
 
    GstBuffer *sub = gst_buffer_create_sub (outbuf, 0, ret);
 
812
    sub = gst_buffer_create_sub (outbuf, 0, ret);
811
813
 
812
814
    /* parent no longer needed, will go away with child buffer */
813
815
    gst_buffer_unref (outbuf);
1059
1061
    guint prop_id, GValue * value, GParamSpec * pspec)
1060
1062
{
1061
1063
  GstXvidEnc *xvidenc;
 
1064
  guint offset;
1062
1065
 
1063
1066
  g_return_if_fail (GST_IS_XVIDENC (object));
1064
1067
  xvidenc = GST_XVIDENC (object);
1065
 
  guint offset;
1066
1068
 
1067
1069
  if (prop_id > xvidenc_prop_count) {
1068
1070
    G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);