bugGnash - The GNU Flash player - Bugs: bug #23346, ffmpeg media handler doesn't build

 
 

bug #23346: ffmpeg media handler doesn't build

Submitted by:  Deanna Phillips <deanna>
Submitted on:  Sat 24 May 2008 04:48:09 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 25 May 2008 08:36:20 AM UTC, comment #4:

deanna confirmed the fix.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Sat 24 May 2008 10:03:48 PM UTC, comment #3:

Committed a fix, let me know if it's fine now.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Sat 24 May 2008 09:46:50 PM UTC, comment #2:

Sorry, I unintentionally committed a destructive patch.
Will work out a strategy to fix.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Sat 24 May 2008 04:55:12 PM UTC, comment #1:

[w-gnash-cvs-091007/gnash] daylight% make dumpconfig

Building in directories: libbase libgeometry libamf libnet libmedia server backend utilities gui plugin pythonmodule doc po testsuite
Some directories may be excluded from the build
OpenBSD daylight.my.domain 4.3 GENERIC.MP#684 i386
ccache c++ -v
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd4.3/3.3.5/specs
Configured with:
Thread model: single
gcc version 3.3.5 (propolice)
CXXFLAGS: -O2 -pipe -g -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type

Image decoding support...
JPEG_CFLAGS is
JPEG_LIBS is -L/usr/local/lib -ljpeg
PNG_CFLAGS is
PNG_LIBS is -lpng -lz -lm
Audio decoding support...
FFMPEG_CFLAGS is -I/usr/local/include
FFMPEG_LIBS is -lavcodec -lfaac -lfaad -lmp3lame -lvorbis -lvorbisenc -la52 -ltheora -logg -lx264 -lz -lavutil -lm -lvorbisenc -lvorbis -lm -logg -lavformat -lavcodec -lfaac -lfaad -lmp3lame -lvorbis -lvorbisenc -la52 -ltheora -logg -lx264 -lz -lavutil -lm -lavutil -lm -ltheora -logg -lavcodec -lfaac -lfaad -lmp3lame -lvorbis -lvorbisenc -la52 -ltheora -logg -lx264 -lz -lavutil -lm
OGG_CFLAGS is
OGG_LIBS is
GUI Toolkit decoding support...
SDL_CFLAGS is -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS
SDL_LIBS is -L/usr/local/lib -lSDL -pthread -L/usr/X11R6/lib -R/usr/X11R6/lib
GTK2_CFLAGS is -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/X11R6/include/freetype2 -I/usr/local/include -I/usr/local/include/libpng
GTK2_LIBS is -lgtk-x11-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpangoft2-1.0 -lpango-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXext -lXdamage -lXfixes -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lcairo -lfreetype -lfontconfig -lexpat -lglitz -lpng -lz -lm -lXrender -lX11 -lXau -lXdmcp
PANGO_CFLAGS is -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
PANGO_LIBS is -lpangox-1.0 -lX11 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
ATK_CFLAGS is -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
ATK_LIBS is -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
X11_CFLAGS is -I/usr/X11R6/include
X11_LIBS is -L/usr/X11R6/lib -lX11 -lXinerama -lXext -lSM -lICE
Support libraries...
INCLTDL
LIBLTDL -lltdl
GLIB_CFLAGS is -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
GLIB_LIBS is -L/usr/local/lib -lglib-2.0 -lintl -liconv
Z_CFLAGS is
Z_LIBS is -lz
LIBXML_CFLAGS is -I/usr/local/include/libxml2 -I/usr/local/include
LIBXML_LIBS is -L/usr/local/lib -lxml2 -lz -L/usr/local/lib -liconv -lm
FREETYPE_CFLAGS is -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include
FREETYPE_LIBS is -L/usr/X11R6/lib -lfreetype -lz
FONTCONFIG_CFLAGS is -I/usr/X11R6/include
FONTCONFIG_LIBS is -lfontconfig -lexpat
INTLLIBS is /usr/local/lib/libintl.a /usr/local/lib/libiconv.a
LIBINTL is /usr/local/lib/libintl.a /usr/local/lib/libiconv.a
PTHREAD_CFLAGS is -pthread
PTHREAD_LIBS is -lpthread
CURL_CFLAGS is -I/usr/local/include
CURL_LIBS is -L/usr/local/lib -lcurl
BOOST_CFLAGS is -I/usr/local/include
BOOST_LIBS is -L/usr/local/lib -lboost_thread-mt -lboost_date_time-mt
BOOST_EXTRA_LIBS is -lboost_serialization-mt
Graphics support...
AGG_CFLAGS is -I/usr/local/include/agg2
AGG_LIBS is -lagg -lagg

A blank value for CFLAGS means the header is installed in the
default system header location. All the LIBS should have a
legit value

Configurable options are:
Media handler: ffmpeg
Renderer engine: agg
Supported GUI: GTK
Security features enables are: localconnection
KPARTS (KDE) plugin disabled
NPAPI (Mozilla) plugin enabled
NPAPI plugin install dir: /usr/local/lib/mozilla-plugins

Deanna Phillips <deanna>
Sat 24 May 2008 04:48:09 PM UTC, original submission:

m_start_onbuffer has been removed, but NetStreamFfmpeg still uses it.

ccache c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libnet -I../../backend -I../../server -I../../server/swf -I../../server/parser -I../../server/vm -I../../libbase -I../../libgeometry -I../../libamf -I../../libltdl -I../../libmedia -I../.. -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -I../../libmedia/ffmpeg -I/usr/local/include -O2 -pipe -g -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT NetStreamFfmpeg.lo -MD -MP -MF .deps/NetStreamFfmpeg.Tpo -c NetStreamFfmpeg.cpp -fPIC -DPIC -o .libs/NetStreamFfmpeg.o
In file included from /usr/local/include/ffmpeg/avformat.h:32,
from NetStreamFfmpeg.h:43,
from NetStreamFfmpeg.cpp:27:
/usr/local/include/ffmpeg/avcodec.h:2288: warning: `ImgReSampleContext' is
deprecated (declared at /usr/local/include/ffmpeg/avcodec.h:2282)
/usr/local/include/ffmpeg/avcodec.h:2298: warning: `ImgReSampleContext' is
deprecated (declared at /usr/local/include/ffmpeg/avcodec.h:2282)
NetStreamFfmpeg.cpp: In member function `bool
gnash::NetStreamFfmpeg::startPlayback()':
NetStreamFfmpeg.cpp:470: error: `m_start_onbuffer' undeclared (first use this
function)
NetStreamFfmpeg.cpp:470: error: (Each undeclared identifier is reported only
once for each function it appears in.)
NetStreamFfmpeg.cpp: In static member function `static void
gnash::NetStreamFfmpeg::av_streamer(gnash::NetStreamFfmpeg*)':
NetStreamFfmpeg.cpp:719: error: 'class gnash::NetStreamFfmpeg' has no member
named 'm_start_onbuffer'
NetStreamFfmpeg.cpp: In member function `bool
gnash::NetStreamFfmpeg::decodeFLVFrame()':
NetStreamFfmpeg.cpp:804: error: `nextMediaFrame' undeclared (first use this
function)
gmake[3]: *** [NetStreamFfmpeg.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/mystuff/www/gnash-cvs/w-gnash-cvs-091007/gnash/server/asobj'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/mystuff/www/gnash-cvs/w-gnash-cvs-091007/gnash/server'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/mystuff/www/gnash-cvs/w-gnash-cvs-091007/gnash'
gmake: *** [all] Error 2

      • Error code 2

Stop in /usr/ports/mystuff/www/gnash-cvs (line 2139 of /usr/ports/infrastructure/mk/bsd.port.mk).

Deanna Phillips <deanna>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by deanna (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 25 May 2008 08:36:20 AM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sat 24 May 2008 10:03:48 PM UTCstrkStatusIn Progress=>Ready For Test
    Sat 24 May 2008 09:46:50 PM UTCstrkStatusNone=>In Progress
      Assigned toNone=>strk

    Back to the top


    Powered by Savane 3.1-cleanup1