correct pipeline state for setting properties for x264enc
The output of gst-inspect for x264enc includes this property:
key-int-max: Maximal distance between two key-frames (0 for automatic)
flags: readable, writable
Unsigned Integer. Range: 0 - 2147483647 Default: 0
The flags state that this property is both readable and writable. If it
doesn't explicitly state writable in various pipeline states (like PAUSED,
PLAYING, etc) is that not allowed? That is, must a given element property
state explicitly that it is writable in the PLAYING state for that to be
The reason I am asking is that I want to change the "key-int-max" property
in realtime for the stream but I am getting an warning that I am trying to
set a property in the wrong state.
What is the minimum pipeline state that would allow me to change the
"key-int-max" property in a running pipeline? PAUSED? READY? or do I
have to go back to NULL?