Mercurial > audlegacy-plugins
comparison src/aosd/aosd_trigger.c @ 609:9b73eb35f4ff trunk
[svn] - aosd: avoid collision between playback start trigger and titlechange trigger, that occurred when the next file in playlist was played
author | giacomo |
---|---|
date | Sun, 04 Feb 2007 16:43:27 -0800 |
parents | e83e6fb3ebfa |
children | 443de962d0a0 |
comparison
equal
deleted
inserted
replaced
608:621e6ec66973 | 609:9b73eb35f4ff |
---|---|
230 } | 230 } |
231 else | 231 else |
232 { | 232 { |
233 g_free(prevs->filename); | 233 g_free(prevs->filename); |
234 prevs->filename = g_strdup(pl_entry->filename); | 234 prevs->filename = g_strdup(pl_entry->filename); |
235 /* if filename changes, reset title as well */ | |
236 if ( prevs->title != NULL ) | |
237 g_free(prevs->title); | |
238 prevs->title = g_strdup(pl_entry->title); | |
235 } | 239 } |
236 } | 240 } |
237 else | 241 else |
238 { | 242 { |
239 if ( prevs->title != NULL ) | 243 if ( prevs->title != NULL ) |