[vlc-devel] [PATCH] Media library module for VLC, GSoC 09

Srikanth Raju srikiraju at gmail.com
Thu Sep 3 20:19:16 CEST 2009


Hi,

2009/9/3 Rémi Denis-Courmont <remi at remlab.net>:
>
>
>
> On Thu, 3 Sep 2009 00:08:18 +0530, Srikanth Raju <srikiraju at gmail.com>
> wrote:
>> Hi,
>>
>> I've made the following fixes in this patch:
>> * Removal of reliance on input_item i_id for hashing
>> * Using watch thread to add items from playlist, instead of doing it
>> in the playlist thread
>
> The playlist thread is not time critical (contrary to input, audio or
> video). Is the processing that slow?
>

It might require making a lot of SQL queries, incase there is an auto-add option
(thus adding a media to ML whenever its the first time in PL).
In such cases, the playlist thread might slow down a lot, especially when
there are lot of media to be added.

ivoire suggested this, but if such a slowdown doesn't matter, then it would be
better to do it in the playlist thread because there will be one less
data structure
i.e. the shared queue which handles such "additions".

> --
> Rémi Denis-Courmont
>

-- 
Regards,
Srikanth Raju



More information about the vlc-devel mailing list