Skip to content

Commit

Permalink
Fixes crash if camera is not 800x600 - gstreamer-java#23
Browse files Browse the repository at this point in the history
  • Loading branch information
jt70 committed Sep 5, 2022
1 parent 0667161 commit acb7ef3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public static void main(String[] args) {
* The named Identity element can be acquired from the pipeline by name
* and the probe attached to its sink pad.
*/
pipeline = (Pipeline) Gst.parseLaunch("autovideosrc ! videoconvert ! videoscale ! "
pipeline = (Pipeline) Gst.parseLaunch("autovideosrc ! videoscale ! videoconvert ! "
+ caps + " ! identity name=identity ! videoconvert ! autovideosink");
Element identity = pipeline.getElementByName("identity");
identity.getStaticPad("sink")
Expand Down

0 comments on commit acb7ef3

Please sign in to comment.