[MPlayer-dev-eng] playing an AVI with two video streams as stereo movie?

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Jul 5 00:29:08 CEST 2010


On Sun, Jul 04, 2010 at 10:07:26PM +0000, Carl Eugen Hoyos wrote:
> Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
> 
> > Well, you can try this more complete solution.
> > mode 3 is unlikely to work, since MPlayer never requests a stereo-capable
> > OpenGL context (even if the card could support it).
> 
> Because following hunk of the original patch is missing?
> 
> Carl Eugen
> 
> @@ -483,6 +506,11 @@
>      /* furthermore it must be RGBA (not color indexed) ... */
>      res = glXGetConfig(dpy, vi_list + i, GLX_RGBA, &val);
>      if (res || val == False) continue;
> +    /* assure quadbuffered stereo if requested */
> +    if (quadbuffer_stereo) {
> +	res = glXGetConfig(dpy, vi_list + i, GLX_STEREO, &val);
> +	if (res || val == False) continue;
> +    }
>      /* prefer less depth buffer size, */
>      res = glXGetConfig(dpy, vi_list + i, GLX_DEPTH_SIZE, &val);
>      if (res) continue;

Something along those lines, yes.



More information about the MPlayer-dev-eng mailing list