openh264dec: Fix input state handling and propagation of upstream caps fields
openh264enc: Don't set caps manually

This will break the order of events in GStreamer.