|
| 1 | +/** |
| 2 | + * @file video_display/piewire.cpp |
| 3 | + * @author Martin Piatka <piatka@cesnet.cz> |
| 4 | + */ |
| 5 | +/* |
| 6 | + * Copyright (c) 2023-2026 CESNET, zájmové sdružení právnických osob |
| 7 | + * |
| 8 | + * Redistribution and use in source and binary forms, with or without |
| 9 | + * modification, is permitted provided that the following conditions |
| 10 | + * are met: |
| 11 | + * |
| 12 | + * 1. Redistributions of source code must retain the above copyright |
| 13 | + * notice, this list of conditions and the following disclaimer. |
| 14 | + * |
| 15 | + * 2. Redistributions in binary form must reproduce the above copyright |
| 16 | + * notice, this list of conditions and the following disclaimer in the |
| 17 | + * documentation and/or other materials provided with the distribution. |
| 18 | + * |
| 19 | + * 3. All advertising materials mentioning features or use of this software |
| 20 | + * must display the following acknowledgement: |
| 21 | + * |
| 22 | + * This product includes software developed by the University of Southern |
| 23 | + * California Information Sciences Institute. This product also includes |
| 24 | + * software developed by CESNET z.s.p.o. |
| 25 | + * |
| 26 | + * 4. Neither the name of the University, Institute, CESNET nor the names of |
| 27 | + * its contributors may be used to endorse or promote products derived from |
| 28 | + * this software without specific prior written permission. |
| 29 | + * |
| 30 | + * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS |
| 31 | + * ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, |
| 32 | + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY |
| 33 | + * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO |
| 34 | + * EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, |
| 35 | + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 36 | + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
| 37 | + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 38 | + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 39 | + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| 40 | + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, |
| 41 | + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 42 | + */ |
| 43 | + |
1 | 44 | #include <cassert> |
2 | 45 | #include <cstdlib> |
3 | 46 | #include <unistd.h> |
|
0 commit comments