Closed klemens closed 1 year ago
This adds the videoflip filter to our playbin in the auto-mode, which will automatically rotate the video based on any potential orientation tag.
I tested this with gstreamer 1.22.6 and it works fine with the vertical videos recorded by my Pixel 4a and it also works with the example posted in https://github.com/linuxmint/pix/issues/61#issuecomment-667632822.
Note that I don't have much experience with GObject, so I am not sure if this implementation is appropriate (am I leaking videoflip objects here?).
This adds the videoflip filter to our playbin in the auto-mode, which will automatically rotate the video based on any potential orientation tag.
I tested this with gstreamer 1.22.6 and it works fine with the vertical videos recorded by my Pixel 4a and it also works with the example posted in https://github.com/linuxmint/pix/issues/61#issuecomment-667632822.
Note that I don't have much experience with GObject, so I am not sure if this implementation is appropriate (am I leaking videoflip objects here?).