apply changes to demo folder too.

plz apply this patch so that everyone can use video function with demo application.