[vlc-devel] commit: FIX: DSHOW "none" device open (#2201). Some cleaning (basos g )

xxcv xxcv07 at gmail.com
Sun Mar 15 10:27:17 CET 2009


Hello,

basos g wrote:
> Sorry, you are not helping me. I would like to understand the state of
> dshow plugin. For example is an audio device opened ? If not then
> Common Close will be called else it will print just an error for video
> and start capturing audio. And this might lead to clues about what is
> deallocated ..
>
> Anyway i might found something about the destruction order (i don't
> think there is race condition. CoInitialize is an atomic operation).
>
>  Could you please try with the attached patch ?
>   

Just tried the patch and it didn't work.
You should read your original patch again.
I am pretty sure it is a race condition.
You have misplaced some code, which alters from original design.
Make sure you don't miss a lock when needed.

Regards.




More information about the vlc-devel mailing list