~sergiusens/phablet-extras/qt-gstreamer_saucy

« back to all changes in this revision

Viewing changes to src/QGst/caps.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-08-14 20:57:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110814205753-30qgyc06f78hrtu1
Tags: 0.10.1-2ubuntu3
Add patch from upstream to fix FTBFS with glib 2.29.

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
 
127
127
bool Caps::isWritable() const
128
128
{
129
 
    return (GST_CAPS_REFCOUNT_VALUE(object<GstCaps>()) == 1);
 
129
    GstCaps *caps = object<GstCaps>(); //workaround for bug #653266
 
130
    return (GST_CAPS_REFCOUNT_VALUE(caps) == 1);
130
131
}
131
132
 
132
133
bool Caps::equals(const CapsPtr & caps2) const