[gstreamer-bugs] [Bug 577346] [xvimagesink] Playback failure with certain XVImage sizes
bugzilla-daemon at bugzilla.gnome.org
Mon Mar 30 13:09:59 PDT 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
GStreamer | gst-plugins-base | Ver: 0.10.16
------- Comment #2 from Steve Magoun 2009-03-30 20:09 UTC -------
Created an attachment (id=131724)
Patch against xvimagesink.c blob 818ffd2b1ef62713f79f093b8d2746a1203c70a9
I use a variant of this patch against gstreamer 0.10.18. I forward-ported the
patch to the current head, though I haven't compiled/tested it there (sorry!
Don't have an appropriate dev environment set up right now).
It's not especially clear from this version of the patch, but the intent is to
move the "calculate the expected size. This is only for sanity checking..."
block before the call to XvShmCreateImage. I calculate a
rounded_width/rounded_height value in that block, then pass the rounded values
to XvShmCreateImage. Passing the rounded_width/rounded_height values to
XvShmCreateImage fixes the problem in my testing.
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=577346.
More information about the Gstreamer-bugs