[vlc-devel] [PATCH 1/2] core: added sort by date (prepare for playlist fix)
Rémi Denis-Courmont
remi at remlab.net
Wed Dec 21 21:25:22 CET 2016
Hello,
Le keskiviikkona 21. joulukuuta 2016, 21.10.35 EET Marcel Schnirring a écrit :
> SORTFN( SORT_ARTIST, first, second )
> {
> int i_ret = meta_sort( first, second, vlc_meta_Artist, false );
> - /* Items came from the same artist: compare the albums */
> + /* Items came from the same artist: compare the dates */
> if( i_ret == 0 )
> - i_ret = proto_SORT_ALBUM( first, second );
> + i_ret = proto_SORT_DATE( first, second );
>
> return i_ret;
> }
This might be an improvement, but it does not seem to match with the commit
message?
--
Rémi Denis-Courmont
https://www.remlab.net/
More information about the vlc-devel
mailing list