(In this case, the vlc browser plugin package)
sudo apt-get source browser-plugin-vlc
sudo apt-get build-dep browser-plugin-vlc
#( Make your source changes )
dpkg-source --commit
sudo debuild -i -us -uc -b
ppsz_argv[ppsz_argc++] = "-vvv";
ppsz_argv[ppsz_argc++] = "--video-filter=motiondetect";
ppsz_argv[ppsz_argc++] = "--logfile=/tmp/test.txt";