summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-05-02Don't allocate the buffer inline in the structure, just allocate it when ↵Diego 'Flameeyes' Pettenò
needed (during decode).
2007-05-02Fix boundary of the for loop.Diego 'Flameeyes' Pettenò
2007-05-02Merge changes, once again, with passion.Diego 'Flameeyes' Pettenò
2007-05-02Merge changes.Diego 'Flameeyes' Pettenò
2007-05-02Fix proxy usage when the hostnames cannot be resolved.Diego 'Flameeyes' Pettenò
Thanks to Jeff Mitchell for reporting and testing the fix. This change reverses the meaning of _x_use_proxy() function to be the one expected by human logic (1 -> use proxy, 0 -> don't use proxy), this way a failure in hostname resolution would result in the proxy being used rather than discarded. Basically now you can use xine behind a proxy when you can't get out to the DNS servers (or where the DNS servers don't resolve Internet hosts that you are not allowed to connect to).
2007-05-02Mac OS X Universal Binary supportMatt Messier
2007-05-02[PATCH] Remove packet count from demux_ts, to remove a long delaySimon Farnsworth
The attached patch applies after my logging patches (I can regenerate if needed). demux_ts attempted to read packets from the input 200 times before giving up. When playing a local file, this is harmless, as it will hit EOF 200 times; however, input_dvb waits 5 seconds for packets on each call to read, resulting in a 1000 second delay if tuning fails. Remove the counting of input packets, and add a comment to read() in input_plugin.h, to indicate that we expect inputs to try and return some data when read() is called. This fixes the delay, and makes it clear to future maintainers that they shouldn't expect to loop like this. -- Simon Farnsworth
2007-05-02[PATCH] Enhance logging in demux_ts, input_dvb and video_out_xvSimon Farnsworth
The three attached patches (against 1.1.6) each increase the amount of debug logging in their respective components. We've found the extra logging useful when trying to track down faults. I've split this into three patches to make it easier to apply only some of our changes. -- Comments welcome, Simon Farnsworth
2007-05-13Correct the dvba:// MRL / tuner mismatch message.Darren Salt
2007-05-11Throw a XINE_MSG_PERMISSION_ERROR error when HTTP returns a 401 statushadess@cookie.hadess.net
Patch from Dmitri Fedortchenko <dimo <at> angelhill.net>, required for upstream Totem bug: http://bugzilla.gnome.org/show_bug.cgi?id=418316
2007-04-25Merge from 1.1.Darren Salt
2007-04-25Fix real codec search pathsVille Skyttä
xine-lib 1.1.6 ends up looking for real codecs eg. in /usr/locallib/win32, /usr/locallib/codecs etc, there's a missing slash. The attached patch should fix it. More info: https://bugzilla.redhat.com/237743
2007-04-24Use LOG_MODULE in log messages in the Xv & XxMC plugins.Darren Salt
Untranslated messages use LOG_MODULE in the string literal, whereas translated messages use %s.
2007-04-23Merge alpha-blending changes.Darren Salt
2007-04-23Add comments about used blending equationPetri Hintukainen
Remove unused x_odd parameter from blend_???_exact functions
2007-04-21Handle single-quoted attributes in XML.Darren Salt
2007-04-21Fix comments - '>' and '?>' were reversed.Darren Salt
2007-04-21Merge from 1.1 branch.Diego 'Flameeyes' Pettenò
2007-04-21Add support for MDHD version 1 atom in demux_qt. [bug #1679398]Diego 'Flameeyes' Pettenò
2007-04-21Avoid fiddling with __attribute__.Diego 'Flameeyes' Pettenò
2007-04-21Mark bandwidths array static.Diego 'Flameeyes' Pettenò
2007-04-19audio_filter_amp: calculate the total number of frames to iterate over just ↵Diego 'Flameeyes' Pettenò
once. This way, it avoids to calculate the multiplication in the for loops and in the memset() call.
2007-04-19Mark _x_[av]o_new_port functions as internal function, both in doxygen and ↵Diego 'Flameeyes' Pettenò
by not exporting them.
2007-04-19More doxygen documentation.Diego 'Flameeyes' Pettenò
2007-04-19Doxygen documentation.Diego 'Flameeyes' Pettenò
2007-04-18Use the proper dts.h file.Diego 'Flameeyes' Pettenò
2007-04-18Cleanup, add doxygen comments, add doxygen todos.Diego 'Flameeyes' Pettenò
2007-04-18Cleanup; make variables and parameters constant; improve the float_to_int ↵Diego 'Flameeyes' Pettenò
function; add some doxygen comments with a @todo to remind that this function should be implmeneted once and forever in xine-utils.
2007-04-18Now that xine_dts_decoder.c is alone, move it in libxineadec.Diego 'Flameeyes' Pettenò
--HG-- rename : src/libdts/xine_dts_decoder.c => src/libxineadec/xine_dts_decoder.c
2007-04-18Replace libdts 0.0.2 with libdca 0.0.5 and contextually move it in contrib/.Diego 'Flameeyes' Pettenò
libdca 0.0.5 was released about a week ago, and this commit replaces the old code from libdts 0.0.2 (that was renamed libdca). There's basically no functional change even if the build system is simplified as configure takes care of switching between the two implementations on its own.
2007-04-18Limit common-case buffer copying optimisation to i386 & amd64.Darren Salt
This fixes reported alignment issues on ARM. (We could require correct alignment on some architectures, but this is easier.)
2007-04-18Merge from 1.1 series.Diego 'Flameeyes' Pettenò
2007-04-18Permit to build against libdca 0.0.5.Diego 'Flameeyes' Pettenò
To build against this, we need to make sure that the system dts.h header is used instead of the internal copy of it, as the internal copy will declare the functions with the old names, while libdca's system header will create macro aliases between the old names and the new ones. Better fix will be implemented in 1.2 series. --HG-- rename : src/libdts/dts.h => src/libdts/internal-dts.h
2007-04-18Alphablending optimizations:Petri Hintukainen
- validate palette alpha values in overlay manager (one check / overlay / palette index) instead of checking every alpha value twice for every blended pixel in every frame - remove unneeded calculations - approximiate expensive integer divisions with multiplication and shift
2007-04-17Merge from 1.1 (and update the debian/changelog datestamp for 1.2.0~hg).Darren Salt
2007-04-17Fix DVD playback (was hanging when either the AC3 or DTS demuxers were probed).Darren Salt
This may have side-effects wrt other streams; CDDA is fine, though.
2007-04-16Merge fix for xine-lib extension.Reinhard Nißl
2007-04-16Merge fix from other xine-lib extension.Reinhard Nißl
2007-04-16Simplify handling of internal/external libmpcdec, most of the work is done ↵Diego 'Flameeyes' Pettenò
at configure time.
2007-04-16Fix ffmpeg_config.h build, so that make distchecks works.Diego 'Flameeyes' Pettenò
2007-04-16FIX: Make sleeps in video out loops interruptable for immediate OSDReinhard Nißl
redrawing. While splitting my original big patch set, I've lost three lines. This change will make xine-lib compile again.
2007-04-15Avoid sending BUF_FLAG_FRAME_END before the first frame.Reinhard Nißl
When BUF_FLAG_FRAME_END is sent before the first frame, decoding fails as there is no data and a "bad" frame of size 0x0 will be allocated, which is really bad as such as frame is simply invalid.
2007-04-15Extend the original MAX_SHOWING by 16 VDR OSD objects.Reinhard Nißl
The original number of OSD objects was 5 which served xine-lib's needs. VDR may on it's own allocate up to 16 OSD objects and thus there may be no more OSD objects left for xine-lib's needs. The change addresses this by increasing the current number by 5.
2007-04-15Integrate vdr directory into xine-lib's build system.Reinhard Nißl
2007-04-15Provide some internal functions to be used by input_vdr.Reinhard Nißl
These functions are likely to be removed later when more correct solutions have been found.
2007-04-15Merge extensions to xine engine.Reinhard Nißl
2007-04-15Avoid locking log_lock once the buffer has been allocated.Reinhard Nißl
2007-04-15Avoid immediate frame drops by giving decoder a further chance toReinhard Nißl
supply decoded frames. There can still be scheduling delays which may let the number of frames ready for displaying to drop below frame drop limit just for a short period of time. Therefore the changes remember that the decoder should have been asked to drop some frames but do not actually have the decoder to drop some frames. When the situation has improved at the next time when the check is performed, the remembered frame drop is canceled or otherwise (when the number of frames is still below frame drop limit) executed.
2007-04-15Choose maximum for frame drop limit depending on the number ofReinhard Nißl
allocated frames. The current code uses a hard coded frame drop limit of 3 and doesn't adhere to it's documentation when testing whether frames shall be dropped. As a result frame drop limit is actually 4, which means that the decoder is asked to drop some frames when the number of frames waiting for displaying is less then 4. Consider a video out device like xxmc which only supplies 8 frames. For MPEG2 decoding, two frames will be used by the decoder (for the current frame and the forward reference frame) and two further frames will be used in the video out loop (the current and the previous frame) so that at any given time (under perfect conditions) there will be 4 frames waiting to be displayed. But when there are delays in scheduling, it might happen that there are only 3 frames ready for displaying and thus will result in asking the decoder to drop frames. The changes therefore determine the maximum frame drop limit in dependence of the number of allocated frames and make the detection work like documented. In the above scenario, the maximum number actually used for frame drop limit will then be 2 which allows to compensate some scheduling delays without causing the decoder to drop frames.
2007-04-15Avoid skipping an unsuitable frame when there are only few buffersReinhard Nißl
available. Usually it's a good idea to avoid reallocating frames especially when a deinterlacer needs a different format than the decoder, as this would then happen all the time. But when there is only a limited number of frames available, then even a single frame which is not scheduled at frame allocation may let the number of frames ready for displaying drop below frame drop limit and thus resulting in unnecessary frame drops.