~ubuntu-branches/ubuntu/precise/gst-plugins-base0.10/precise-updates

« back to all changes in this revision

Viewing changes to sys/ximage/ximagesink.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2011-04-27 15:27:37 UTC
  • mfrom: (11.7.11 upstream)
  • mto: (33.1.9 sid)
  • mto: This revision was merged to the branch mainline in revision 52.
  • Revision ID: james.westby@ubuntu.com-20110427152737-zccyocuk1ftufq5f
Tags: 0.10.32.3-1
New upstream pre-release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1779
1779
 
1780
1780
  ximagesink = GST_XIMAGESINK (bsink);
1781
1781
 
 
1782
  if (G_UNLIKELY (!caps)) {
 
1783
    GST_WARNING_OBJECT (ximagesink, "have no caps, doing fallback allocation");
 
1784
    *buf = NULL;
 
1785
    ret = GST_FLOW_OK;
 
1786
    goto beach;
 
1787
  }
 
1788
 
1782
1789
  /* This shouldn't really happen because state changes will fail
1783
1790
   * if the xcontext can't be allocated */
1784
1791
  if (!ximagesink->xcontext)