Matthias Clasen
e499a09759
Drop gtkintl.h
...
Include gtkprivate.h for I_() and glib-i18n.h for
gettext macros.
2022-09-24 10:03:37 -04:00
Stephan Vedder
83ff85d227
ffmpeg: add audio playback through avdevice
2022-08-04 10:49:44 +00:00
Stephan Vedder
1c8bddf3ca
ffmpeg: Fix crash on some media files
...
Return code EAGAIN expects the user to feed more packets into the decoder
2022-07-04 13:29:09 +02:00
Benjamin Otte
25520964af
ffmpeg: Hey, this variable is const now!
2022-04-26 19:39:20 +02:00
Matthias Clasen
3227aa2c45
mediastream: Rename apis one more time
...
Before we end up with names that we are unhappy with,
rename things one more time, and update all callers.
2021-07-03 09:05:33 -04:00
Timm Bäder
106417ada7
gtkffmediafile: Fix deprecated API usage
2021-07-02 18:41:55 +02:00
Matthias Clasen
86b5dba43b
mediastream: Rename an api to avoid name collisions
...
Some bindings can't handle the coexistence of
GtkMediaStream:prepared and gtk_media_stream_prepared.
Help them out by renaming the function to
gtk_media_stream_set_prepared, and rename
gtk_media_stream_unprepared as well, to match.
The existing entry points still exist, deprecated.
Update all internal uses.
Fixes : #4023
2021-06-14 07:50:12 -04:00
Chun-wei Fan
2b8ad6c4b5
gtkffmediafile.c: Use g_snprintf()
...
Visual Studio 2013 is just shy of being sufficiently C99-compliant to
build GTK master, as it did not support snprintf() in its CRT
implementation.
Use g_snprintf() to cover for this.
2021-01-08 22:24:42 -05:00
Benjamin Otte
0b8cebd6ef
ffmediafile: Add fixes for recent cflags changes
...
Related: #2771
2020-06-03 16:23:49 +02:00
Benjamin Otte
e665667bff
mediafile: Check if media files are open when trying to play
...
If no file is open, refuse to play.
2018-07-04 06:15:33 +02:00
Benjamin Otte
12063fe53e
ffmpeg: Fix compile warnings for newest version
2018-04-10 15:13:38 +02:00
Benjamin Otte
c74854fe49
paintable: Introduce gdk_paintable_new_empty()
...
Also, use it where appropriate.
2018-04-05 14:56:39 +02:00
Benjamin Otte
800bcb5cb4
gtk: Add ffmpeg implementation of GtkMediaFile
...
This adds a module using ffmpeg to implement the GtkMediaFile interface.
2018-03-18 21:01:23 +01:00