Re: [gtk-list] Display video under GTK+
- From: Iñaki García Etxebarria <garetxe euskalnet net>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Display video under GTK+
- Date: Thu, 09 Mar 2000 22:45:42 +0100
Hi,
Daniel Ding wrote:
>
> Hi,
>
> I am trying to display video under GTK+. I am using the function:
>
> gdk_draw_rgb_image (darea->window,
> darea->style->fg_gc[GTK_STATE_NORMAL],
> X_START, Y_START, COL_MAX, ROW_MAX,
> GDK_RGB_DITHER_MAX, pBufferRGB, COL_MAX * 3);
> // GDK_RGB_DITHER_NORMAL, GDK_RGB_DITHER_MAX
>
> The RGB data in the buffer is 24 bits. The video is blurred, and color
> disappears.
Well, i use gdk_draw_rgb_image for the same thing (displaying video)
and works fine for me. I use darea->style->white_gc, however.
Hope this helps,
Iñaki
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]