Displaying 8 results from an estimated 8 matches for "new_decod".
Did you mean:
new_decoder
2007 Jun 27
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie_as.c
...("iterating audio (from %u to %u)", movie->sound_frame, mov->frame);
- if (movie->sound_frame + 1 != mov->frame)
+ SWFDEC_LOG ("iterating audio (from %u to %u)", movie->sound_frame, movie->frame);
+ if (movie->sound_frame + 1 != movie->frame)
goto new_decoder;
if (movie->sound_frame == (guint) -1)
goto new_decoder;
@@ -536,7 +534,7 @@ swfdec_sprite_movie_iterate_end (SwfdecM
if (last->sound_head != current->sound_head)
goto new_decoder;
exit:
- movie->sound_frame = mov->frame;
+ movie->sound_frame = movie->frame...
2007 Sep 05
0
libswfdec/swfdec_sprite_movie.c
...Date: Wed Sep 5 19:29:44 2007 +0200
use the right frame when creating an audio stream
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index 6152535..8658bd3 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -618,7 +618,7 @@ new_decoder:
if (current->sound_block) {
movie->sound_stream = swfdec_audio_stream_new (player,
- movie->sprite, movie->frame);
+ movie->sprite, movie->frame - 1);
movie->sound_frame = movie->frame;
}
return TRUE;
2007 Jun 18
0
Branch 'as' - 8 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_sprite_movie.h libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_swf_decoder.h
...audio (from %u to %u)", movie->sound_frame, movie->current_frame);
- if (movie->sound_frame + 1 != movie->current_frame)
+ SWFDEC_LOG ("iterating audio (from %u to %u)", movie->sound_frame, mov->frame);
+ if (movie->sound_frame + 1 != mov->frame)
goto new_decoder;
if (movie->sound_frame == (guint) -1)
goto new_decoder;
@@ -301,7 +524,7 @@ swfdec_sprite_movie_iterate_end (SwfdecM
if (last->sound_head != current->sound_head)
goto new_decoder;
exit:
- movie->sound_frame = movie->current_frame;
+ movie->sound_frame = mov-&...
2023 Jun 04
3
[PATCH v2 1/2] vgaarb: various coding style and comments fix
.../
if (!vga_arbiter_used) {
vga_arbiter_used = true;
vga_arbiter_notify_clients();
@@ -865,8 +868,7 @@ static bool vga_arbiter_del_pci_device(struct pci_dev *pdev)
}
/* this is called with the lock */
-static inline void vga_update_device_decodes(struct vga_device *vgadev,
- int new_decodes)
+static void vga_update_device_decodes(struct vga_device *vgadev, int new_decodes)
{
struct device *dev = &vgadev->pdev->dev;
int old_decodes, decodes_removed, decodes_unlocked;
@@ -956,9 +958,9 @@ EXPORT_SYMBOL(vga_set_legacy_decoding);
* @set_decode callback: If a client can d...
2007 Jul 03
0
Branch 'as' - 7 commits - libswfdec/swfdec_as_math.c libswfdec/swfdec_as_object.c libswfdec/swfdec_movie.c libswfdec/swfdec_sprite_movie.c test/trace
...:00:16 2007 +0100
unset sound stream here, since we're not recreating it in any case
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index 3e741ea..5a110a9 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -542,6 +542,7 @@ new_decoder:
if (movie->sound_stream) {
swfdec_audio_remove (movie->sound_stream);
g_object_unref (movie->sound_stream);
+ movie->sound_stream = NULL;
}
if (current->sound_block) {
diff-tree a031f4b7e379e364e82101dd02924cc1b1137b56 (from 90c2424294478b3d5d004e7066fa6db2...
2004 Sep 10
0
http streaming in the xmms plugin
...*client_data);
+ typedef void (*MetadataCallback) (const void *decoder, const FLAC__StreamMetadata *metadata, void *client_data);
+ typedef void (*ErrorCallback) (const void *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data);
+
+ typedef struct {
+ FLAC__bool seekable;
+ void* (*new_decoder) (void);
+ FLAC__bool (*set_md5_checking) (void *decoder, FLAC__bool value);
+ FLAC__bool (*set_source) (void *decoder, const char* source);
+ FLAC__bool (*set_metadata_ignore_all) (void *decoder);
+ FLAC__bool (*set_metadata_respond) (void *decoder, FLAC__MetadataType type);
+ FLAC__bool (*...
2007 Aug 26
0
9 commits - libswfdec-gtk/swfdec_source.c libswfdec/swfdec_marshal.list libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_swf_instance.c test/dump.c test/Makefile.am
...p;& movie->frame == 0)
+ swfdec_sprite_movie_do_init_movie (movie);
+
swfdec_player_add_action (player, movie, swfdec_sprite_movie_do_enter_frame, NULL);
if (movie->playing && movie->sprite != NULL) {
if (movie->frame == movie->n_frames)
@@ -588,38 +626,6 @@ new_decoder:
}
static void
-swfdec_sprite_movie_init_movie (SwfdecMovie *mov)
-{
- SwfdecSpriteMovie *movie = SWFDEC_SPRITE_MOVIE (mov);
- SwfdecAsContext *context = SWFDEC_AS_OBJECT (movie)->context;
- SwfdecAsObject *constructor = NULL;
-
- g_assert (mov->swf != NULL);
-
- if (movie->spri...
2007 Apr 08
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_audio_flv.c libswfdec/swfdec_audio_flv.h libswfdec/swfdec_audio_stream.c libswfdec/swfdec_audio_stream.h libswfdec/swfdec_buffer.c libswfdec/swfdec_codec_adpcm.c libswfdec/swfdec_codec_audio.c
...0:53:30 2007 +0200
only spawn a new audio stream if there really is something to decode
diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index a114315..81ad295 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -293,9 +293,11 @@ new_decoder:
g_object_unref (movie->sound_stream);
}
- movie->sound_stream = swfdec_audio_stream_new (player,
- movie->sprite, movie->current_frame);
- movie->sound_frame = movie->current_frame;
+ if (current->sound_block) {
+ movie->sound_stream = swfdec_audio_s...