summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-09-04 20:39:43 +0200
committerGravatar waker <wakeroid@gmail.com>2012-09-04 20:39:43 +0200
commit7c0af6a8dae61cd5f394b7490bdc3b1dec47eed4 (patch)
treeba3605cd4fb8d77467fd34963f7ed02af73e6763
parentc4d71fb8d07917c8f027a8fbc8b13690dbfc40c3 (diff)
a bit more tracing
-rw-r--r--playlist.c1
-rw-r--r--plugins/alac/alac_plugin.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/playlist.c b/playlist.c
index c61aa271..4ada1132 100644
--- a/playlist.c
+++ b/playlist.c
@@ -1335,6 +1335,7 @@ plt_insert_file (playlist_t *playlist, playItem_t *after, const char *fname, int
if (cb && cb (inserted, user_data) < 0) {
*pabort = 1;
}
+ trace ("file has been added by decoder: %s\n", decoders[i]->plugin.id);
return inserted;
}
}
diff --git a/plugins/alac/alac_plugin.c b/plugins/alac/alac_plugin.c
index 69da1007..25f45d1e 100644
--- a/plugins/alac/alac_plugin.c
+++ b/plugins/alac/alac_plugin.c
@@ -553,6 +553,7 @@ alacplug_insert (ddb_playlist_t *plt, DB_playItem_t *after, const char *fname) {
qtmovie_free_demux (&demux_res);
+ trace ("duration %f\n", duration);
if (duration > 0) {
char s[100];
snprintf (s, sizeof (s), "%lld", fsize);
@@ -590,6 +591,7 @@ alacplug_insert (ddb_playlist_t *plt, DB_playItem_t *after, const char *fname) {
}
}
+ trace ("success\n");
success:
after = deadbeef->plt_insert_item (plt, after, it);
deadbeef->pl_item_unref (it);