gst-plugins-0.4.2 does not compile with mpeg2dec-0.3.0



Hi,

I get:

cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/garnome/include
-I/usr/X11R6/include -I/opt/garnome/include -I/usr/X11R6/include
-I/opt/garnome/include -I/usr/X11R6/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -pthread -I/opt/garnome/include/gstreamer-0.4.2
-I/opt/garnome/include/glib-2.0 -I/opt/garnome/lib/glib-2.0/include
-I/opt/garnome/include/libxml2 -g -I../../gst-libs -Wall -ffast-math -O2
-g -c gstmpeg2dec.c -MT libgstmpeg2dec_la-gstmpeg2dec.lo -MD -MP -MF
.deps/libgstmpeg2dec_la-gstmpeg2dec.TPlo  -fPIC -DPIC -o
libgstmpeg2dec_la-gstmpeg2dec.lo
gstmpeg2dec.c: In function `gst_mpeg2dec_vo_frame_draw':
gstmpeg2dec.c:210: dereferencing pointer to incomplete type
gstmpeg2dec.c:212: dereferencing pointer to incomplete type
gstmpeg2dec.c:217: dereferencing pointer to incomplete type
gstmpeg2dec.c:223: dereferencing pointer to incomplete type
gstmpeg2dec.c:223: dereferencing pointer to incomplete type
...

I think the reason is, that it is not possible to dereference
mpeg2dec->decoder->frame_rate_code. mpeg2dec->decoder has the type
mpeg2dec_t (defined in gstmpeg2dec.h). mpeg2dec_t is defined as "struct
mpeg2dec_s", but "struct mpeg2dec_s" is only defined in
/usr/src/Multimedia/Mpeg2/mpeg2dec-0.3.0/libmpeg2/mpeg2_internal.h,
which is not a public header and will not be included gst-plugins.

Any idea?

	Juergen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]