Commit Graph

25 Commits (0dbeeeb9f20945e8edfd2d049a260283a84a8d75)

Author SHA1 Message Date
mio 0dbeeeb9f2
Address -Wall warnings
VideoWindow::ExposeEvent wasn't being used correctly; it should be a
TQCustomEvent (although, the 3000 type is already being used for
forwarding XINE_PROGRESS_EVENT).

While the pts_per_smpls part never seemed to be encountered, it would
have resulted in a floating point exception as it's always 0.  Commented
out to leave a hint as to what the code should be doing.

Resolves: TDE/codeine#2
Signed-off-by: mio <stigma@disroot.org>
(cherry picked from commit 9ef39acd5d)
9 months ago
mio f41da351c6
Fix filter list when opening a file
Signed-off-by: mio <stigma@disroot.org>
(cherry picked from commit c0311bdfc3)
10 months ago
mio 9f6a25bcf4
Improve the layout of XineConfigDialog
Properly display the description of each of the settings.  Also,
reorganize the layout so that it uses layouts rather than VBox/HBox.

The TabWidget class has been removed in favour of the standard
TQTabWidget class, as the different behaviour doesn't make a notable
visual difference.

Signed-off-by: mio <stigma@disroot.org>
(cherry picked from commit 11c0638baf)
10 months ago
mio 5394e874c3
Fix crash when showing context menu in DVDs
Signed-off-by: mio <stigma@disroot.org>
(cherry picked from commit b62e6bc2b9)
10 months ago
mio bca2a1a170
Use nullptr instead of NULL/0 pointer in C++ files
See: https://mirror.git.trinitydesktop.org/gitea/TDE/tde/issues/73
Signed-off-by: mio <stigma@disroot.org>
(cherry picked from commit ed55bf0726)
11 months ago
mio 55214aea7c
Use safer xine_get_current_frame_s
xine_get_current_frame was deprecated back in 2019 because it is
"unsafe by design"[0].  The '_s' version was introduced in xine-lib
1.1.11, which was released in 2008, so there are no version checks.

[0]:
c1a154c1a8/

Signed-off-by: mio <stigma@disroot.org>
(cherry picked from commit 5e965846d1)
11 months ago
mio 86b8d57af8
Scale capture preview if it exceeds screen bounds
Signed-off-by: mio <stigma@disroot.org>
(cherry picked from commit 000a65ca62)
11 months ago
Michele Calgaro 81d30b1142
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 00a73f1dea)
1 year ago
Michele Calgaro b023e03979
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1ca6231ff7)
2 years ago
Michele Calgaro 58bbed0510
xine engine: make volume control logarithmic for versions of xine < 1.2.13. For xine versions >= 1.2.13, libxine already makes the volume logarithmic. This relates to TDE/tdemultimedia#40.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b5977d5e67)
2 years ago
Michele Calgaro d1d095a264
Fix volume slider functionality and visualization
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1884d0e5a2)
2 years ago
Michele Calgaro decb99db2f
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ea718087e4)
2 years ago
gregory guy a25a38afa5
Add a couple of missing icons.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
5 years ago
Michele Calgaro 304d3a226c
Fixed xine scope plugin functionality with xine 1.2.10.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
gregory guy 9977caccb3
Bring back missing icons, thanks to Slávek Banko for the tip.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
5 years ago
Slávek Banko 4ca91724d7
Drop the use of the HAVE_XINE_H definition.
Add include <xine.h> to the appropriate headers.
Clean up the arrangement of include files.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko 5e7b4208af
Added controlled conversions to char* instead of automatic ascii conversions.
The definition of -UTQT_NO_ASCII_CAST is no longer needed.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro b51af279c4
Fixed FTBFS with xine 1.2.10. The use of the xine scope plugin is currently
disabled when xine >= 1.2.10 is detected.

Additional info:
The xine scope plugin is statically linked and therefore written by
accessing internal xine data that are no longer publicly available from
xine 1.2.10.
To add back the scope plugin functionality, the plugin will have to be
converted into a dynamically linked one and further work done to fix the
logic of the plugin itself.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
gregory guy 088b37ef3c
Get rid of some deprecated.
given warning: "xine_mrl_reference_data_t XINE_DEPRECATED"

Signed-off-by: gregory guy <gregory-tde@laposte.net>
5 years ago
gregory guy 0b2288da16
Conversion to the cmake building system.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
5 years ago
gregory guy 88aa431c9d
Add support for xinelib-1.2, patch is from anixx@opensuse.org
taken from the kde3 OpenSuse repo, package kde3-codeine-1.0.1-52.73.src.rpm
http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_Tumbleweed/src

Signed-off-by: gregory guy <gregory-tde@laposte.net>
5 years ago
gregory guy 12b478cefd
Conversion KDE -> TDE environment.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
5 years ago
gregory guy 2c9bc9b806
Conversion qt3 -> tqt3
Signed-off-by: gregory guy <gregory-tde@laposte.net>
5 years ago
Michele Calgaro 38eaf7209a
Applied patches from debian/patches.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro 5f44f7b187
Initial code import from debian snapshot
https://snapshot.debian.org/package/codeine/1.0.1-3.dfsg-3.1/

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago