It depends on your camera, do you have a manual handy? It should be fine but its always best to be safe. Look up the model of your camera and look for the manual online if you do not have one handy.
There are also rca to USB adapters as well if you prefer that over a rca to VGA adapter.
Some camera's require a s-video connection I beleive as well.