Commit Graph

21822 Commits

Author SHA1 Message Date
diego 3508f4da08 Fix dependencies for pci_names.c.
based on patch by Carl Eugen Hoyos, cehoyos ag.or at


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21839 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-06 15:08:04 +00:00
reimar a52c97540c Include libavformat/riff.h when building with static libavformat and
add and correct prototypes if not.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21838 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-06 14:40:05 +00:00
Gabrov 6cfe33d49f synced with r21741
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21837 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-06 13:38:30 +00:00
gpoirier 5ddf53dde6 woops, actually fix URL this time
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21836 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-06 13:31:16 +00:00
lucabe a72f029add replace some av_malloc();memset(...,0,...) sequences with av_mallocz()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21835 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-06 12:11:25 +00:00
nicodvb d72485f032 removed useless reporting code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21834 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-06 11:59:33 +00:00
nicodvb 5aa2b2b489 moved actual tuning code from check_status() to tune_it()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21833 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-06 11:43:44 +00:00
nicodvb 01ace0891b don't add pid 0 if it's already present in the list
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21832 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-06 11:09:27 +00:00
gpoirier 190ea55d2e update comment url
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21831 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-06 10:07:45 +00:00
reimar 0a6856d341 Simplify after last demux_ogg commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21830 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-05 18:03:58 +00:00
reimar 50dc3ce2c7 Do not access ogg_d->subs after freeing it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21829 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-05 18:02:18 +00:00
reimar e3fe6113a6 sizeof() is long, thus %d format in error message is wrong.
Fix by assigning extradata_size before and printing that, since
this also removes a bit of code duplication.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21828 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-05 15:41:00 +00:00
reimar 9e1add871e Make ds_get_next_pts return MP_NOPTS_VALUE instead of -1 on error,
-1 could be a perfectly valid pts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21827 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-05 15:24:38 +00:00
reimar e5e820981f Do not abort on X11 errors, most are not at all fatal.
Makes -vo x11 work over non-trusted ssh X11 forwarding.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21826 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-05 11:57:06 +00:00
reimar c9614cb422 move runtime cpu detection check after detection of host architecture,
since it uses the host architecture to check if it is supported.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21825 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-05 10:05:05 +00:00
gpoirier 1bb883188e add autodetection support for docbook stuff installed in /opt, such as macports do for ex.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21824 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 20:42:02 +00:00
reimar 380a752a06 Use av_d2q to produce the fps fraction, this usually produces more sane fractions
and works right also for extreme values that otherwise would over- or underflow.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21823 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 19:41:41 +00:00
reimar 275f89e3cd Fix printf types: AVRational members are ints, not 64 bit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21822 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 19:33:03 +00:00
ben fde73bb200 allows OSD menu to be displayed when using MPEG PES video out
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21821 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 16:46:15 +00:00
ben 5028a513dd restore volume if muted at exit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21820 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 16:30:06 +00:00
ben 7c988dfea3 fix detection of rage128/radeon using vidix driver on powerpc (which seems to keep them disabled), no impact on other archs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21819 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 16:10:40 +00:00
ben c796e21e3c don't fatal if saving vesa state failed (this always fails on qemu, with this patch vesa now works under qemu)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21818 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 16:07:42 +00:00
ben c179597c82 increased a bit max param length as it can be too short to declare tv channels when you have a long list of
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21817 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 16:06:01 +00:00
ben 96edf244f6 support for vidix on ATI Radeon 9600SE cards
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21816 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 16:04:31 +00:00
gpoirier 1c88c0fce4 fix gprof support (aka work around gprof's brain dead design)
as stated here: http://sourceware.org/binutils/docs-2.17/gprof/Implementation.html
mcount() is a symbol reserved by gprof to perform instrumentation, so we shouldn't declare a symbol that has this name
Fixes issue discussed here:
date: Jan 3, 2007 3:17 PM
subject: [MPlayer-advusers] gcc, mplayer and profile (mcount)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21815 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 16:00:27 +00:00
torinthiel 86654adfe5 Synced with r21760, typos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21814 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 09:02:22 +00:00
torinthiel 90650cb448 translated r21748
by Eric Wang eric7wang gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21813 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-04 08:41:54 +00:00
Gabrov 770f8040de synced with r21537
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21812 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-02 18:08:04 +00:00
Gabrov ddb0ba371d synced with r21737
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21811 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-02 17:35:23 +00:00
voroshil 6653c183f0 better wording and typos fixing
Slightly modified patch from Andrew Savchenko birkoph at mail dot ru


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21810 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-02 09:07:13 +00:00
voroshil 0d07fceb99 r21791: avoid a possible confusion, as suggested by Wanderer
r21802: I've found a mistake in encoding-guide:


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21809 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-02 08:37:13 +00:00
rtogni 8f46652d6d More free() that were forgotten in r21806 memleak fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21808 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-01 22:49:13 +00:00
nicodvb 538674f6b6 set dp->stream_pts only when feeding the video stream to workaround
strange interleaving patterns in some samples (that show with wild
alternations of the OSD timer going back and forth)



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21807 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-01 22:47:14 +00:00
rtogni ac5d629479 Memleak fix (implement sdpplin_free() and use it)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21806 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-01 22:32:09 +00:00
rtogni 959bb649e9 Fix invalid memory access if identifier is unknown
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21805 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-01 17:57:16 +00:00
aurel 128f311d86 Comment about lavf required for musepack and remove unneeded format entry.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21804 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-31 18:12:06 +00:00
nicodvb 55303b223e removed unused variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21803 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-31 17:24:14 +00:00
rtogni 396d85354d I've found a mistake in encoding-guide:
---
With MPEG-4 ASP codecs such as x264,
---
But x264 is MPEG-4 AVC, not ASP.

Patch by Andrew Savchenko )Bircoph list ru(, approved by Guillaume


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21802 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-31 14:04:36 +00:00
rtogni f865a13941 Fix potential buffer overflow in asm rules matching code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21799 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-31 13:27:53 +00:00
nicodvb 8558d03eb9 use demuxer->stream_pts rather than stream_control(STREAM_CTRL_GET_CURRENT_TIME)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21798 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-31 11:09:53 +00:00
nicodvb 33ce3088d1 replace call to ds_read_packet() with the usual stream_read()+ds_add_packet() sequence;
fill demux_packet->stream_pts if the stream layer supports it



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21797 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-31 11:08:27 +00:00
nicodvb b5898c2aa6 added stream_pts to demuxer_t and demux_packet_t to hold the time value reported by the stream layer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21796 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-31 11:05:26 +00:00
michael 9eb302dee8 sort
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21795 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-31 10:54:32 +00:00
rathann c0926ecd8e Fix build with shared libavutil. Approved by Diego.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21794 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-31 02:44:54 +00:00
nicodvb 6c417510ba reindentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21793 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-30 22:43:12 +00:00
iive a36aff154c Fix double free of *http_hdr at server error.
In http.c::http_streaming_start() *http_hdr is allocated
then assigned to stream->streaming_ctrl->data
if server returns error *http_hdr is freed before function returns.
However the copy in ->data remains and is
later freed (again) by network.c::streaming_ctrl_free().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21792 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-30 13:23:39 +00:00
gpoirier 74ec945b20 avoid a possible confusion, as suggested by Wanderer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21791 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-29 22:55:53 +00:00
vayne 2c2a233ac2 small oops fix from my last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21790 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-29 21:33:40 +00:00
michael 6f0e3fb15d the avi spec does not allow random samplesize whoever wrote this should be shot
also block align should be equal to sample size
i dunno if this breaks anything but the old code was definitly not correct
this also fixes amr_nb muxing (in .3gp with lavf for example)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21789 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-29 20:40:19 +00:00
michael f89822df44 dont read index if -noidx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21788 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-29 19:01:55 +00:00