Skip to content

Instantly share code, notes, and snippets.

@justinjoy
justinjoy / Vagrantfile
Created August 5, 2015 04:37
Very initial vagrant config for gstreamer devel.
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
@justinjoy
justinjoy / jhbuild.rb
Last active September 22, 2015 06:08
Homebrew (brew) formula for GNOME jhbuild
require 'formula'
class Jhbuild < Formula
homepage 'http://freedesktop.org/wiki/Software/jhbuild/'
url 'git://git.gnome.org/jhbuild', :tag => '3.5.91'
depends_on 'python'
depends_on 'autoconf'
depends_on 'automake'
depends_on 'libtool'
Executing tasks: [:generateDebugSources, :mockableAndroidJar, :prepareDebugUnitTestDependencies, :generateDebugAndroidTestSources, :compileDebugSources, :compileDebugUnitTestSources, :compileDebugAndroidTestSources]
Configuration on demand is an incubating feature.
No resolved dependencies found when searching for the jacoco version.
Incremental java compilation is an incubating feature.
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
@justinjoy
justinjoy / test-srt-poll-win32.cpp
Last active January 3, 2018 11:51
SRT epoll-like feature test
#include <srt.h>
#include <windows.h>
#include <tchar.h>
#include <strsafe.h>
DWORD WINAPI SrtSendEvent( LPVOID lpParam )
{
HANDLE handle = (HANDLE) lpParam;
@justinjoy
justinjoy / Dockerfile
Last active May 6, 2019 15:53
Dockerfile for cerbero
FROM ubuntu:16.04
RUN \
sed -i "s/# deb-src/deb-src/g" /etc/apt/sources.list && \
sed -i "s/archive.ubuntu.com/kr.archive.ubuntu.com/g" /etc/apt/sources.list && \
dpkg --add-architecture i386 && \
apt-get update -q --fix-missing
RUN \
DEBIAN_FRONTEND=noninteractive apt-get -y build-dep \
@justinjoy
justinjoy / docker-compose.yml
Created January 17, 2018 04:00
docker-compose for cerbero build
version: '3'
services:
cerbero-build:
image: joykim/cerbero-build:latest
hostname: cerbero-build
volumes:
- ./work:/work
@justinjoy
justinjoy / Playback.cs
Last active March 7, 2018 09:32
Simple Pipeline for leak detection
using Gst;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PipelineTest
{
@justinjoy
justinjoy / Gst_Bus.cs
Created January 29, 2018 08:56
generated files
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace Gst {
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
Log of Meson test suite run on 2018-03-19T22:34:41.910501
1/1 gstreamer-sharp / gstreamer_sharp_abi FAIL 0.13 s
--- command ---
MONO_PATH='/home/joykim/git/gst-build/build/:subprojects/gstreamer-sharp/Tests/NUnit/3.10.1/lib/net45/nunit.framework.dll/..:/home/joykim/git/gst-build/build/subprojects/gtk-sharp/Source/glib:/home/joykim/git/gst-build/build/subprojects/gtk-sharp/Source/gtk:/home/joykim/git/gst-build/build/subprojects/gstreamer-sharp/sources:/home/joykim/git/gst-build/build/subprojects/gtk-sharp/Source/pango:/home/joykim/git/gst-build/build/subprojects/gstreamer-sharp/ges:/home/joykim/git/gst-build/build/subprojects/gtk-sharp/Source/cairo:/home/joykim/git/gst-build/build/subprojects/gstreamer-sharp/Tests:/home/joykim/git/gst-build/build/subprojects/gtk-sharp/Source/atk:/home/joykim/git/gst-build/build/subprojects/gtk-sharp/Source/gdk:/home/joykim/git/gst-build/build/subprojects/gtk-sharp/Source/gio' LD_LIBRARY_PATH='//home/joykim/git/gst-build/build/subprojects/gst-editing-services/ges:/home/
@justinjoy
justinjoy / gist:3ed9c5a5d1c82668e54db24d0907b9c9
Last active February 12, 2020 08:35
srt-rfc-txt-rendered
mops M. Sharabayko
Internet-Draft Haivision
Intended status: Standards Track J. Kim
Expires: 15 August 2020 SK Telecom Co., Ltd.
12 February 2020