Merge branch 'v0.15.x'
Conflicts: NEWS configure.ac src/decoder/ffmpeg_plugin.c src/update.c
This commit is contained in:
commit
806496dfc9
7
NEWS
7
NEWS
|
@ -58,6 +58,13 @@ ver 0.16 (20??/??/??)
|
||||||
* require GLib 2.16
|
* require GLib 2.16
|
||||||
|
|
||||||
|
|
||||||
|
ver 0.15.6 (2009/??/??)
|
||||||
|
* decoders:
|
||||||
|
- ffmpeg: convert metadata
|
||||||
|
* output_thread: check again if output is open on PAUSE
|
||||||
|
* update: delete ignored symlinks from database
|
||||||
|
|
||||||
|
|
||||||
ver 0.15.5 (2009/10/18)
|
ver 0.15.5 (2009/10/18)
|
||||||
* input:
|
* input:
|
||||||
- curl: don't abort if a packet has only metadata
|
- curl: don't abort if a packet has only metadata
|
||||||
|
|
|
@ -27,9 +27,6 @@
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#define DECODE_TYPE_FILE 0
|
|
||||||
#define DECODE_TYPE_URL 1
|
|
||||||
|
|
||||||
enum decoder_state {
|
enum decoder_state {
|
||||||
DECODE_STATE_STOP = 0,
|
DECODE_STATE_STOP = 0,
|
||||||
DECODE_STATE_START,
|
DECODE_STATE_START,
|
||||||
|
|
|
@ -430,6 +430,15 @@ static gpointer audio_output_task(gpointer arg)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AO_COMMAND_PAUSE:
|
case AO_COMMAND_PAUSE:
|
||||||
|
if (!ao->open) {
|
||||||
|
/* the output has failed after
|
||||||
|
audio_output_all_pause() has
|
||||||
|
submitted the PAUSE command; bail
|
||||||
|
out */
|
||||||
|
ao_command_finished(ao);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
ao_pause(ao);
|
ao_pause(ao);
|
||||||
/* don't "break" here: this might cause
|
/* don't "break" here: this might cause
|
||||||
ao_play() to be called when command==CLOSE
|
ao_play() to be called when command==CLOSE
|
||||||
|
|
|
@ -695,7 +695,11 @@ updateDirectory(struct directory *directory, const struct stat *st)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
utf8 = fs_charset_to_utf8(ent->d_name);
|
utf8 = fs_charset_to_utf8(ent->d_name);
|
||||||
if (utf8 == NULL || skip_symlink(directory, utf8)) {
|
if (utf8 == NULL)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
if (skip_symlink(directory, utf8)) {
|
||||||
|
delete_name_in(directory, utf8);
|
||||||
g_free(utf8);
|
g_free(utf8);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue