mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 06:58:49 +00:00
Fixes to make ext/libcaca compile.
Original commit message from CVS: * configure.ac: * ext/Makefile.am: Fixes to make ext/libcaca compile. * ext/divx/gstdivxdec.c: * ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_sink_link), (gst_gdk_pixbuf_init), (gst_gdk_pixbuf_chain): Make gdkpixbufdec handle images that span multiple buffers. Now work with both filesrc ! gdkpixbufdec and qtdemux ! gdkpixbufdec. * ext/gdk_pixbuf/gstgdkpixbuf.h: * ext/libcaca/gstcacasink.h: Fixes needed due to recent video/video.h changes * ext/xvid/gstxvid.c: (gst_xvid_csp_to_caps): same * sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get), (gst_v4lmjpegsrc_buffer_free): Use buffer free function instead of GstData free function. * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_get), (gst_v4lsrc_buffer_free): same.
This commit is contained in:
parent
1adb86a5d6
commit
538adea7fa
4 changed files with 39 additions and 4 deletions
19
ChangeLog
19
ChangeLog
|
@ -1,3 +1,22 @@
|
||||||
|
2004-01-11 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
|
* configure.ac:
|
||||||
|
* ext/Makefile.am: Fixes to make ext/libcaca compile.
|
||||||
|
* ext/divx/gstdivxdec.c:
|
||||||
|
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_sink_link),
|
||||||
|
(gst_gdk_pixbuf_init), (gst_gdk_pixbuf_chain): Make gdkpixbufdec
|
||||||
|
handle images that span multiple buffers. Now work with both
|
||||||
|
filesrc ! gdkpixbufdec and qtdemux ! gdkpixbufdec.
|
||||||
|
* ext/gdk_pixbuf/gstgdkpixbuf.h:
|
||||||
|
* ext/libcaca/gstcacasink.h: Fixes needed due to recent
|
||||||
|
video/video.h changes
|
||||||
|
* ext/xvid/gstxvid.c: (gst_xvid_csp_to_caps): same
|
||||||
|
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get),
|
||||||
|
(gst_v4lmjpegsrc_buffer_free): Use buffer free function instead
|
||||||
|
of GstData free function.
|
||||||
|
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_get), (gst_v4lsrc_buffer_free):
|
||||||
|
same.
|
||||||
|
|
||||||
2004-01-12 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
2004-01-12 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||||
|
|
||||||
* sys/v4l2/gstv4l2element.c: (gst_v4l2element_class_init),
|
* sys/v4l2/gstv4l2element.c: (gst_v4l2element_class_init),
|
||||||
|
|
|
@ -154,6 +154,12 @@ else
|
||||||
LCS_DIR=
|
LCS_DIR=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if USE_LIBCACA
|
||||||
|
LIBCACA_DIR=libcaca
|
||||||
|
else
|
||||||
|
LIBCACA_DIR=
|
||||||
|
endif
|
||||||
|
|
||||||
if USE_LIBDV
|
if USE_LIBDV
|
||||||
LIBDV_DIR=dv
|
LIBDV_DIR=dv
|
||||||
else
|
else
|
||||||
|
@ -323,6 +329,7 @@ SUBDIRS=\
|
||||||
$(LADSPA_DIR) \
|
$(LADSPA_DIR) \
|
||||||
$(LAME_DIR) \
|
$(LAME_DIR) \
|
||||||
$(LCS_DIR) \
|
$(LCS_DIR) \
|
||||||
|
$(LIBCACA_DIR) \
|
||||||
$(LIBDV_DIR) \
|
$(LIBDV_DIR) \
|
||||||
$(LIBFAME_DIR) \
|
$(LIBFAME_DIR) \
|
||||||
$(LIBPNG_DIR) \
|
$(LIBPNG_DIR) \
|
||||||
|
@ -376,6 +383,7 @@ DIST_SUBDIRS=\
|
||||||
ladspa \
|
ladspa \
|
||||||
lame \
|
lame \
|
||||||
lcs \
|
lcs \
|
||||||
|
libcaca \
|
||||||
libfame \
|
libfame \
|
||||||
libpng \
|
libpng \
|
||||||
librfb \
|
librfb \
|
||||||
|
|
|
@ -369,11 +369,15 @@ gst_divxdec_negotiate (GstDivxDec *divxdec)
|
||||||
break;
|
break;
|
||||||
case 24:
|
case 24:
|
||||||
endianness = G_BIG_ENDIAN;
|
endianness = G_BIG_ENDIAN;
|
||||||
r_mask = R_MASK_24; g_mask = G_MASK_24; b_mask = B_MASK_24;
|
r_mask = GST_VIDEO_BYTE1_MASK_24_INT;
|
||||||
|
g_mask = GST_VIDEO_BYTE2_MASK_24_INT;
|
||||||
|
b_mask = GST_VIDEO_BYTE3_MASK_24_INT
|
||||||
break;
|
break;
|
||||||
case 32:
|
case 32:
|
||||||
endianness = G_BIG_ENDIAN;
|
endianness = G_BIG_ENDIAN;
|
||||||
r_mask = R_MASK_32; g_mask = G_MASK_32; b_mask = B_MASK_32;
|
r_mask = GST_VIDEO_BYTE1_MASK_32_INT;
|
||||||
|
g_mask = GST_VIDEO_BYTE2_MASK_32_INT;
|
||||||
|
b_mask = GST_VIDEO_BYTE3_MASK_32_INT
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
caps = GST_CAPS_NEW("divxdec_src_pad_rgb",
|
caps = GST_CAPS_NEW("divxdec_src_pad_rgb",
|
||||||
|
|
|
@ -196,11 +196,15 @@ gst_xvid_csp_to_caps (gint csp, gint w, gint h, gdouble fps)
|
||||||
|
|
||||||
switch (csp) {
|
switch (csp) {
|
||||||
case XVID_CSP_RGB555:
|
case XVID_CSP_RGB555:
|
||||||
r_mask = R_MASK_15_INT; g_mask = G_MASK_15_INT; b_mask = B_MASK_15_INT;
|
r_mask = GST_VIDEO_RED_MASK_15_INT;
|
||||||
|
g_mask = GST_VIDEO_GREEN_MASK_15_INT;
|
||||||
|
b_mask = GST_VIDEO_BLUE_MASK_15_INT;
|
||||||
endianness = G_BYTE_ORDER; depth = 15; bpp = 16;
|
endianness = G_BYTE_ORDER; depth = 15; bpp = 16;
|
||||||
break;
|
break;
|
||||||
case XVID_CSP_RGB565:
|
case XVID_CSP_RGB565:
|
||||||
r_mask = R_MASK_16_INT; g_mask = G_MASK_16_INT; b_mask = B_MASK_16_INT;
|
r_mask = GST_VIDEO_RED_MASK_16_INT;
|
||||||
|
g_mask = GST_VIDEO_GREEN_MASK_16_INT;
|
||||||
|
b_mask = GST_VIDEO_BLUE_MASK_16_INT;
|
||||||
endianness = G_BYTE_ORDER; depth = 16; bpp = 16;
|
endianness = G_BYTE_ORDER; depth = 16; bpp = 16;
|
||||||
break;
|
break;
|
||||||
case XVID_CSP_BGR:
|
case XVID_CSP_BGR:
|
||||||
|
|
Loading…
Reference in a new issue