Abstract: A method includes encoding information of at least two short-term reference picture sets into a bitstream; encoding into the bitstream a structure of pictures description with an indication being indicative of which one of the at least two short-term reference picture sets to be used for decoding by a picture in question within the structure of pictures, the structure of pictures including one or more consecutive pictures in decoding order; encoding pictures according to the structure of pictures description into the bitstream.